Rails application.html.erb?

Old Rails used the application.rhtml file. The newer version has .html.erb files for each model. What is the reason there is currently no application.html.erb file?

+3
source share
1 answer

You can create a file application.html.erbin the app / view / layouts directory if you want to have a layout file for the entire application.

+7
source

Source: https://habr.com/ru/post/1710161/


All Articles