I have a view/page under my folder in rails views: --static_pages: ----mission.html.erb
And I want to link to that page from a view/page in a different folder in my views page as so:
views: --home ----home.html.erb
I don't know what to write in my mission method in the controller for the static_pages. I'm also a newbie at rails. I also don't know how to write the route for it and i suspect i may need to write a get 'something' in my routes.rb. Can anybody help with this?
Aucun commentaire:
Enregistrer un commentaire