aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2018-04-10 11:48:18 +0100
committerDave Arter <davea@mysociety.org>2018-04-10 11:48:18 +0100
commit47c4a12a97abfaaf826d3fb21742399b8429cdfb (patch)
tree39a492c17e146dec8fc8f7b42e120ae9679e4c10
parentd9fe55bcb414f5562d52a040ec27a530d812e351 (diff)
[BANES] Add cobrand base_url
-rw-r--r--perllib/FixMyStreet/Cobrand/BathNES.pm6
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 {