diff options
author | Louise Crow <louise.crow@gmail.com> | 2012-11-28 13:36:55 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2012-11-28 13:36:55 +0000 |
commit | 3617a48ff3f7b1fc9fb4808f0556c46dfb8dd4d2 (patch) | |
tree | 3ff890151608e4ef838224cbd22660952c495fca /app/views/help/_sidebar.rhtml | |
parent | 87db0bed631bfaeb688956ab6cd30a251cef6443 (diff) |
Use generated URLs in help pages - then they're accessible to routing filters etc.
Diffstat (limited to 'app/views/help/_sidebar.rhtml')
-rw-r--r-- | app/views/help/_sidebar.rhtml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/app/views/help/_sidebar.rhtml b/app/views/help/_sidebar.rhtml index 783d35983..2b7ed5647 100644 --- a/app/views/help/_sidebar.rhtml +++ b/app/views/help/_sidebar.rhtml @@ -1,19 +1,19 @@ <div id="right_column_flip"> <h2>Help pages</h2> <ul class="no_bullets"> - <li><%= link_to_unless_current "Introduction", "/help/about" %></li> - <li><%= link_to_unless_current "Making requests", "/help/requesting" %></li> - <li><%= link_to_unless_current "Your privacy", "/help/privacy" %></li> - <li><%= link_to_unless_current "FOI officers", "/help/officers" %></li> - <li><%= link_to_unless_current "About the software", "/help/alaveteli" %></li> - <li><%= link_to_unless_current "Credits", "/help/credits" %></li> - <li><%= link_to_unless_current "Programmers API", "/help/api" %></li> - <li><%= link_to_unless_current "Advanced search", "/advancedsearch" %></li> + <li><%= link_to_unless_current "Introduction", help_about_path %></li> + <li><%= link_to_unless_current "Making requests", help_requesting_path %></li> + <li><%= link_to_unless_current "Your privacy", help_privacy_path %></li> + <li><%= link_to_unless_current "FOI officers", help_officers_path %></li> + <li><%= link_to_unless_current "About the software", help_alaveteli_path %></li> + <li><%= link_to_unless_current "Credits", help_credits_path %></li> + <li><%= link_to_unless_current "Programmers API", help_api_path %></li> + <li><%= link_to_unless_current "Advanced search", advanced_search_path %></li> </ul> <h2 id="contact">Contact us</h2> <p>If your question isn't answered here, or you just wanted to let us know - something about the site, <a href="/help/contact">contact us</a>. + something about the site, <a href="<%= help_contact_path %>">contact us</a>. </p> </div> |