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

Rails 5 API - Rabl does not render layouts/application.rabl layout #690

Open
haile-vnm opened this issue May 19, 2017 · 0 comments
Open

Comments

@haile-vnm
Copy link

haile-vnm commented May 19, 2017

Hi there,
I have a problem with rabl. I have already configured and run without layouts/application.rabl and it rendered demo/index.rabl. However, when i add layouts/application.rabl layout as your wiki (https://github.com/nesquena/rabl/wiki/Using-Layouts) . It still renders demo/index.rabl, not the layouts/application.rabl.
So, do we need any configuration for initializers/rabl_init.rabl?

@haile-vnm haile-vnm changed the title Rabl does not render layouts/application.rabl layout Rails 5 API - Rabl does not render layouts/application.rabl layout May 19, 2017
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