I started my first serious rails app. I’m building a site which will need for a specific model another structure as the application.html.erb.
I’d like to have a general layout or structure as application.html.erb but for my, lets say, articles model, and then =yield any view of that model there.
Thanks in advance.
You can use the keyword
layoutto override the default layout conventions in your controllers.following your example: