diff options
author | francis <francis> | 2008-01-22 18:34:15 +0000 |
---|---|---|
committer | francis <francis> | 2008-01-22 18:34:15 +0000 |
commit | acb14cc4db29f9cf1021a47baf4ecf0d28809115 (patch) | |
tree | eb64e5ad7de133f9a3bfcf7fe105f9d6b25255f0 /app/helpers/link_to_helper.rb | |
parent | 9fcb41f57d9a88d3e3fcde66dc74bbba7e452ef6 (diff) |
Basic admin pages for user accounts.
Diffstat (limited to 'app/helpers/link_to_helper.rb')
-rw-r--r-- | app/helpers/link_to_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/link_to_helper.rb b/app/helpers/link_to_helper.rb index 381d45122..7e90cddc5 100644 --- a/app/helpers/link_to_helper.rb +++ b/app/helpers/link_to_helper.rb @@ -5,7 +5,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: link_to_helper.rb,v 1.9 2008-01-21 18:53:41 francis Exp $ +# $Id: link_to_helper.rb,v 1.10 2008-01-22 18:34:15 francis Exp $ module LinkToHelper @@ -75,7 +75,7 @@ module LinkToHelper # Where stylesheets used by admin page sit under def admin_public_url(relative_path) admin_url_prefix = MySociety::Config.get("ADMIN_PUBLIC_URL", "/") - return admin_url_prefix + relative_path + return (admin_url_prefix + relative_path).gsub('//', '/') # XXX stylesheet_path includes a /, as do our url_prefixes by convention end def main_url(relative_path) |