diff options
author | Robin Houston <robin@lenny.robin> | 2011-07-14 04:47:51 +0100 |
---|---|---|
committer | Robin Houston <robin@lenny.robin> | 2011-07-14 04:47:51 +0100 |
commit | 018f650a59d259c843bc0d2cf159984059578b57 (patch) | |
tree | 08ed5797dc737b876d5b5150cdfa0ac4c2563b61 | |
parent | ef95d5a730498bccd4dd19b0531e510c6c9461e0 (diff) |
Use the ADMIN_BASE_URL config variable if present, rather than ignoring it
-rwxr-xr-x | app/helpers/link_to_helper.rb | 2 |
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 |