Link_to error
Hi
I have my header in a partial which then appears on every page through the application template.
In the header I have an About link:
<%= link_to "About", 'about' %>
This works fine in most of the site.
But when I am in www.oilersdaily.com/articles it links to www.oilersdaily.com/articles/about rather than www.oilersdaily.com/about
about.html.erb is in the folder static_pages and my routes.rb has :
get 'about', to: 'static_pages#about'
Any guidance appreciated, a schoolboy error I am sure!!
Thanks
Simon