nesquena / rabl

General ruby templating with json, bson, xml, plist and msgpack support
http://blog.codepath.com/2011/06/27/building-a-platform-api-on-rails/
MIT License
3.64k stars 334 forks source link

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

Open haile-vnm opened 7 years ago

haile-vnm commented 7 years ago

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?