diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-02-15 15:26:26 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-02-15 15:26:26 +1100 |
commit | 40466d7da8d292e47d9f29414cd5721b006e298c (patch) | |
tree | 8a23566f43f19a43aeb5301af9304dc83f812930 | |
parent | 2d7efe95e4b996edbbb5c71b9b517ba19dea9168 (diff) |
Configurations ADMIN_BASE_URL and ADMIN_PUBLIC_URL are no longer used anywhere
-rw-r--r-- | config/general.yml-example | 13 | ||||
-rw-r--r-- | config/test.yml | 9 | ||||
-rw-r--r-- | lib/configuration.rb | 2 |
3 files changed, 0 insertions, 24 deletions
diff --git a/config/general.yml-example b/config/general.yml-example index bfe289541..c92c54f91 100644 --- a/config/general.yml-example +++ b/config/general.yml-example @@ -100,19 +100,6 @@ TRACK_SENDER_NAME: 'Alaveteli Webmaster' # this up! RAW_EMAILS_LOCATION: 'files/raw_emails' -# The base URL for admin pages, must always end with a '/' -# e.g. https://www.example.com/secure/alaveteli-admin/ -# If not specified, it will default to the path to the admin controller, -# which is usually what you want. It is useful in situations where admin -# requests are proxied via a secure server, for example. -ADMIN_BASE_URL: '' - -# Where /stylesheets sits under for admin pages. See asset_host in -# config/environment.rb. Can be full domain or relative path (not an -# absolute path beginning with /). Again, unlikely to want to change -# this. -ADMIN_PUBLIC_URL: '' - # Secret key for signing cookie_store sessions COOKIE_STORE_SESSION_SECRET: 'your secret key here, make it long and random' diff --git a/config/test.yml b/config/test.yml index ef270dcf2..f40b11764 100644 --- a/config/test.yml +++ b/config/test.yml @@ -71,15 +71,6 @@ CONTACT_NAME: 'Alaveteli Webmaster' # this up! RAW_EMAILS_LOCATION: 'files/raw_emails' -# The base URL for admin pages. You probably don't want to change this. -ADMIN_BASE_URL: '' - -# Where /stylesheets sits under for admin pages. See asset_host in -# config/environment.rb. Can be full domain or relative path (not an -# absolute path beginning with /). Again, unlikely to want to change -# this. -ADMIN_PUBLIC_URL: '' - # Secret key for signing cookie_store sessions COOKIE_STORE_SESSION_SECRET: 'your secret key here, make it long and random' diff --git a/lib/configuration.rb b/lib/configuration.rb index 11fe1c56e..d1da45fcf 100644 --- a/lib/configuration.rb +++ b/lib/configuration.rb @@ -4,9 +4,7 @@ module Configuration DEFAULTS = { - :ADMIN_BASE_URL => '', :ADMIN_PASSWORD => '', - :ADMIN_PUBLIC_URL => '', :ADMIN_USERNAME => '', :AVAILABLE_LOCALES => '', :BLACKHOLE_PREFIX => 'do-not-reply-to-this-address', |