From: Tom Hughes Date: Thu, 5 Jun 2008 21:20:30 +0000 (+0000) Subject: Make sure the diary tab always links to the global diary rather than X-Git-Tag: live~7730 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/91bcc440212a73a6cc4587a2d95b8bc05a7266f5?ds=sidebyside Make sure the diary tab always links to the global diary rather than a specific user's diary. Closes #956. --- diff --git a/app/views/layouts/site.rhtml b/app/views/layouts/site.rhtml index 33e02449d..7283ebb32 100644 --- a/app/views/layouts/site.rhtml +++ b/app/views/layouts/site.rhtml @@ -52,7 +52,7 @@
  • <%= link_to 'Export', {:controller => 'site', :action => 'export'}, {:id => 'exportanchor', :title => 'export map data', :class => exportclass} %>
  • <% end %>
  • <%= link_to 'GPS Traces', {:controller => 'trace', :action => 'list'}, {:id => 'traceanchor', :title => 'manage traces', :class => traceclass} %>
  • -
  • <%= link_to 'User Diaries', {:controller => 'diary_entry', :action => 'list'}, {:id => 'diaryanchor', :title => 'view user diaries', :class => diaryclass} %>
  • +
  • <%= link_to 'User Diaries', {:controller => 'diary_entry', :action => 'list', :display_name => nil}, {:id => 'diaryanchor', :title => 'view user diaries', :class => diaryclass} %>