diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-06-13 15:19:52 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-06-13 15:19:52 +0100 |
commit | eaec484160b580a759b20a230ba12beeb21debe5 (patch) | |
tree | f9a8aa9ecfc072a0a0d3e7afe9bb144d6c45a292 /perllib/FixMyStreet/Cobrand/Bromley.pm | |
parent | be207c19ae277e5ca9d9813b5b7b58f6e98b3b56 (diff) |
Use config domain if a development site.
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/Bromley.pm')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Bromley.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Bromley.pm b/perllib/FixMyStreet/Cobrand/Bromley.pm index 406217cfc..c5c6c6345 100644 --- a/perllib/FixMyStreet/Cobrand/Bromley.pm +++ b/perllib/FixMyStreet/Cobrand/Bromley.pm @@ -13,7 +13,8 @@ sub council_url { return 'bromley'; } sub all_reports_style { return 'detailed'; } sub base_url { - 'https://fix.bromley.gov.uk'; + return FixMyStreet->config('BASE_URL') if FixMyStreet->config('STAGING_SITE'); + return 'https://fix.bromley.gov.uk'; } sub admin_base_url { '' } |