aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers/link_to_helper.rb
diff options
context:
space:
mode:
authorFaton Selishta <fatonselishta@gmail.com>2011-06-02 14:59:16 +0000
committerFaton Selishta <fatonselishta@gmail.com>2011-06-02 14:59:16 +0000
commit5d08750a5dc156ab6d19b3b6d1015b9371413bc3 (patch)
treec2c3c087282340374cf8f7c17b6c3be1aae10c42 /app/helpers/link_to_helper.rb
parent61c2cbe1f6a60beb8b2dd2fece6840646badb3de (diff)
I18n fix
Diffstat (limited to 'app/helpers/link_to_helper.rb')
-rw-r--r--app/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 85913b12e..20d4223a2 100644
--- a/app/helpers/link_to_helper.rb
+++ b/app/helpers/link_to_helper.rb
@@ -162,7 +162,7 @@ module LinkToHelper
# Admin pages
def admin_url(relative_path)
- admin_url_prefix = MySociety::Config.get("ADMIN_BASE_URL", "/admin/")
+ admin_url_prefix = admin_general_index_path+"/"
return admin_url_prefix + relative_path
end