diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-10-09 11:34:17 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-10-09 11:34:17 +0100 |
commit | 3963b7bd2f9e9516b638003a28bdd0d549428de1 (patch) | |
tree | 1277381c839a1d2512a02f95f8266846aaf79b6e /lib | |
parent | eeaa91fecfb4a2253bf9c294bc8907dbe595dafb (diff) | |
parent | e8e75624a8e223da281942d4056e7286d2fd565b (diff) |
Merge branch 'sidebar-url-helpers' into develop
Diffstat (limited to 'lib')
-rw-r--r-- | lib/views/help/_sidebar.html.erb | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/views/help/_sidebar.html.erb b/lib/views/help/_sidebar.html.erb index e5d345c..958fd78 100644 --- a/lib/views/help/_sidebar.html.erb +++ b/lib/views/help/_sidebar.html.erb @@ -1,20 +1,20 @@ <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 "Help us", "/help/help_out" %></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 "Help us", help_general_path(:action => 'help_out') %></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> |