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

Question regarding handle_html_requests #9

Open
aruprakshit opened this issue Dec 26, 2019 · 0 comments
Open

Question regarding handle_html_requests #9

aruprakshit opened this issue Dec 26, 2019 · 0 comments

Comments

@aruprakshit
Copy link

aruprakshit commented Dec 26, 2019

render "layouts/application" if request.format.symbol == :html

Doesn't this line causes Filter chain halted as :handle_html_requests rendered or redirected for you too? I am not seeing the point of it. As far as I know two render calls from the same action doesn't work or am I missing something here?

I thought just this would work too.

def index
  render inline: "", layout: 'application'
end
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