diff options
author | Dave Arter <davea@mysociety.org> | 2018-04-03 13:38:14 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2018-04-03 13:38:14 +0100 |
commit | d5c83b37ba27a9b80c74e778edf25f372d816a55 (patch) | |
tree | 13bd7062539e87e91866e05facc2844ffb258ab3 | |
parent | 15259c13abb273ba300462854bcbd1d6aa9b3568 (diff) |
[Buckinghamshire] Set cobrand base_url
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Buckinghamshire.pm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Buckinghamshire.pm b/perllib/FixMyStreet/Cobrand/Buckinghamshire.pm index 49e87a1d0..f045b530f 100644 --- a/perllib/FixMyStreet/Cobrand/Buckinghamshire.pm +++ b/perllib/FixMyStreet/Cobrand/Buckinghamshire.pm @@ -13,6 +13,12 @@ sub example_places { return ( 'HP19 7QF', "Walton Road" ); } +sub base_url { + my $self = shift; + return $self->next::method() if FixMyStreet->config('STAGING_SITE'); + return 'https://fixmystreet.buckscc.gov.uk'; +} + sub disambiguate_location { my $self = shift; my $string = shift; @@ -70,7 +76,6 @@ sub default_map_zoom { 3 } sub enable_category_groups { 1 } - # Enable adding/editing of parish councils in the admin sub add_extra_areas { my ($self, $areas) = @_; |