Rails 3 - Ideal way to set title of pages

后端 未结 13 1248
失恋的感觉
失恋的感觉 2020-12-04 06:33

Whats the proper way to set the page title in rails 3. Currently I\'m doing the following:

app/views/layouts/application.html:


  

        
13条回答
  •  粉色の甜心
    2020-12-04 07:05

    You can also check this railscast. I think it will be very useful and give you basic start.

    NOTE: In case you want more dynamic pages with pjax

提交回复
热议问题