Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Override response's template #36

Open
ralt opened this issue Jan 27, 2012 · 0 comments
Open

Override response's template #36

ralt opened this issue Jan 27, 2012 · 0 comments

Comments

@ralt
Copy link

ralt commented Jan 27, 2012

Hi,

I'd like to be able to create a template to use for a specific response when defining a custom content-type. For example, when calling an .html URL, I'd like to use a specific template.

This'd basically allow me to use webservice.js exclusively for a website, with a fallback to plain HTML for search engine spiders or just users without JS.

Any idea on how I could do this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant