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

rendering action.format is not respeted #3

Open
scambra opened this issue May 27, 2010 · 0 comments
Open

rendering action.format is not respeted #3

scambra opened this issue May 27, 2010 · 0 comments

Comments

@scambra
Copy link
Contributor

scambra commented May 27, 2010

Without this gem, I can use render :action => 'list.html' and it will render list.html.erb even for XHR requests.

locale_rails override find_template and removes the extension, so render :action => 'list.html' doesn't work. I have fixed here:
http://github.com/scambra/locale_rails/commit/dc7ec6dff946f9b65fce4e7e0e49cca935d850a1

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