Answer the question
In order to leave comments, you need to log in
How to change the contents of the title tag depending on the pages in a Ruby on Rails project?
The main layout is in /layouts, and individual pages are in other folders.
How to change the content of the tag title
depending on the pages?
Answer the question
In order to leave comments, you need to log in
Have a look here
https://www.railstutorial.org/book/static_pages#se...
If the anchor doesn't open:
Chapter 3, section 3.4.3
After - this can be put into the haelper (described in the next chapter of the book)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question