Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rails application.html.erb?

The old Rails used to have an application.rhtml file. The newer version appear to have .html.erb files for each model. What's the reason there is currently no application.html.erb file?

like image 996
Daniel Avatar asked Sep 09 '26 22:09

Daniel


1 Answers

You can create an application.html.erb file in the app/view/layouts directory if you want to have an application-wide layout file.

like image 96
John Topley Avatar answered Sep 11 '26 14:09

John Topley



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!