I just want to create a link to the page app/views/layouts/world.html.erb
. How can I do this? (Using link_to or something similar) Thanks.
That is a layout, which means you embed pages in it, even if it wasn't rails doesn't have a concept of linking to "pages", you link to "resources".
I understand that is a confusing answer, and would recommend going through something like this http://ruby.railstutorial.org/ruby-on-rails-tutorial-book
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.