Ruby On Rails: layouts and partials

layouts The default layout (applied to all controllers) is: app/views/layouts/application.html.erb You can overwrite it by: creating a erb file with the name of the controller you want to make a custom layout for in the layouts directory (for example: app/views/layouts/mycontroller.html.erb) explicitly overwrite the layout to be used inside the controller: class ExampleController < ApplicationController   layout ‘my_layout’ # […]