diff options
author | Dave Arter <davea@mysociety.org> | 2018-04-10 11:48:18 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2018-04-10 11:48:18 +0100 |
commit | 47c4a12a97abfaaf826d3fb21742399b8429cdfb (patch) | |
tree | 39a492c17e146dec8fc8f7b42e120ae9679e4c10 | |
parent | d9fe55bcb414f5562d52a040ec27a530d812e351 (diff) |
[BANES] Add cobrand base_url
-rw-r--r-- | perllib/FixMyStreet/Cobrand/BathNES.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/BathNES.pm b/perllib/FixMyStreet/Cobrand/BathNES.pm index fa1112709..02d491e0e 100644 --- a/perllib/FixMyStreet/Cobrand/BathNES.pm +++ b/perllib/FixMyStreet/Cobrand/BathNES.pm @@ -24,6 +24,12 @@ sub update_email { return join( '@', 'highways', 'bathnes.gov.uk' ); } +sub base_url { + my $self = shift; + return $self->next::method() if FixMyStreet->config('STAGING_SITE'); + return 'https://fix.bathnes.gov.uk'; +} + sub map_type { 'BathNES' } sub example_places { |