aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers/link_to_helper.rb
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-02-15 15:14:00 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-02-15 15:14:00 +1100
commit366ef12cc959545c018ff8853818dfabba3787d8 (patch)
tree2e3ca91bbe02d7fa75d21d73378e2f1c13ba43d6 /app/helpers/link_to_helper.rb
parent91422461f05d1d6cfa6b9944788fa96bc721f643 (diff)
Remove unused parameters from helper method
Diffstat (limited to 'app/helpers/link_to_helper.rb')
-rwxr-xr-xapp/helpers/link_to_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/link_to_helper.rb b/app/helpers/link_to_helper.rb
index bbaa6c31a..ea12fbb5c 100755
--- a/app/helpers/link_to_helper.rb
+++ b/app/helpers/link_to_helper.rb
@@ -240,7 +240,7 @@ module LinkToHelper
search_url(query, options.merge(:only_path => true))
end
- def search_link(query, variety_postfix = nil, sort_postfix = nil, advanced = nil)
+ def search_link(query)
link_to h(query), search_url(query)
end