aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers/link_to_helper.rb
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-02-15 14:29:37 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-02-15 14:47:03 +1100
commit35f4455c4f5e62778ec8b5560b8216028bd9e487 (patch)
treefe728f977f0e22be0fc77532661ef0f6f8ea558a /app/helpers/link_to_helper.rb
parent44e876fc4ef955808ebc868b0308266aa5a06d1f (diff)
Replace use of route_url(:only_path => true) with route_path where we can
Diffstat (limited to 'app/helpers/link_to_helper.rb')
-rwxr-xr-xapp/helpers/link_to_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/link_to_helper.rb b/app/helpers/link_to_helper.rb
index a2286825f..f1bec2b51 100755
--- a/app/helpers/link_to_helper.rb
+++ b/app/helpers/link_to_helper.rb
@@ -31,11 +31,11 @@ module LinkToHelper
end
def request_similar_url(info_request)
- return similar_request_url(:url_title => info_request.url_title, :only_path => true)
+ similar_request_path(:url_title => info_request.url_title)
end
def request_details_path(info_request)
- return details_request_url(:url_title => info_request.url_title, :only_path => true)
+ details_request_path(:url_title => info_request.url_title)
end
# Incoming / outgoing messages