diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-02-13 16:14:42 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-02-15 12:22:22 +1100 |
commit | c8c27e88146bc2761981d7d7e0a04bc3cccfaefd (patch) | |
tree | 6fb30f1d5736d0603655be408165ce465a2467dd | |
parent | 20a1a5fb38f0a4ec621c93e41a9565971827b429 (diff) |
Rename helper method
-rwxr-xr-x | app/helpers/link_to_helper.rb | 2 | ||||
-rw-r--r-- | app/views/request/_sidebar.rhtml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/link_to_helper.rb b/app/helpers/link_to_helper.rb index 5c9f51baa..f16af7f0b 100755 --- a/app/helpers/link_to_helper.rb +++ b/app/helpers/link_to_helper.rb @@ -35,7 +35,7 @@ module LinkToHelper return similar_request_url(:url_title => info_request.url_title, :only_path => true) end - def request_details_url(info_request) + def request_details_path(info_request) return details_request_url(:url_title => info_request.url_title, :only_path => true) end diff --git a/app/views/request/_sidebar.rhtml b/app/views/request/_sidebar.rhtml index 5e0c6fd2d..c0d35a0f8 100644 --- a/app/views/request/_sidebar.rhtml +++ b/app/views/request/_sidebar.rhtml @@ -58,7 +58,7 @@ <!-- Important terms: <%= @xapian_similar.important_terms.join(" ") %> --> <% end %> - <p><%= link_to _('Event history details'), request_details_url(@info_request) %></p> + <p><%= link_to _('Event history details'), request_details_path(@info_request) %></p> <!-- this link with this wording is here for legal reasons, discuss with board and our lawyer before changing or removing it --> |