aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers/link_to_helper.rb
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-02-12 11:53:21 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-02-12 11:53:21 +1100
commit8039ac21001f918454b6fcc37153f311bca83114 (patch)
tree03b0db98a1eab2d79535b1435f3773819e17e942 /app/helpers/link_to_helper.rb
parent6d7a5581b5cae48f77062636f88bd2fa24553859 (diff)
Inline helper method
Diffstat (limited to 'app/helpers/link_to_helper.rb')
-rwxr-xr-xapp/helpers/link_to_helper.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/app/helpers/link_to_helper.rb b/app/helpers/link_to_helper.rb
index 030fab20b..42c1e0549 100755
--- a/app/helpers/link_to_helper.rb
+++ b/app/helpers/link_to_helper.rb
@@ -269,13 +269,5 @@ module LinkToHelper
def year_from_date(date)
return date.strftime("%Y").strip
end
-
- #I18n locale switcher
-
- def locale_switcher(locale, params)
- params['locale'] = locale
- return url_for(params)
- end
-
end