aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers/link_to_helper.rb
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2011-07-14 14:37:09 +0100
committerSeb Bacon <seb.bacon@gmail.com>2011-07-14 14:37:09 +0100
commit62b006d959caf95870f9215e56fb3594c585a259 (patch)
tree6ac3ed88bedcd76bd170831c6e666face9d8635f /app/helpers/link_to_helper.rb
parent2e14a76f86f617e98cc935a9d052dedf94e38695 (diff)
parent7654323a695d4e9b593f602649cca15f2abe8105 (diff)
Merge branch 'master' of github.com:sebbacon/alaveteli
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 935912a61..6d8ae345e 100755
--- 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 = admin_general_index_path+"/"
+ admin_url_prefix = MySociety::Config.get("ADMIN_BASE_URL", admin_general_index_path+"/")
return admin_url_prefix + relative_path
end