aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Cobrand/Default.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-07-18 13:13:27 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-07-18 13:13:27 +0100
commit48a56597c0bccf34417a1f4b184d623602b531cb (patch)
tree4da85eef811aa9d8887512cdd654554b76dae4b1 /perllib/FixMyStreet/Cobrand/Default.pm
parent9fde45a9355c69040a519114f70f6d54184bf15c (diff)
Improve on 73da842, few more places where cobrand specific report URL is needed.
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/Default.pm')
-rw-r--r--perllib/FixMyStreet/Cobrand/Default.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Default.pm b/perllib/FixMyStreet/Cobrand/Default.pm
index 0323edfd5..bcf773d37 100644
--- a/perllib/FixMyStreet/Cobrand/Default.pm
+++ b/perllib/FixMyStreet/Cobrand/Default.pm
@@ -99,16 +99,16 @@ Return the base url for the cobranded version of the site
sub base_url { mySociety::Config::get('BASE_URL') }
-=head2 url_for_report
+=head2 base_url_for_report
-Return the url for a report (might be different in a two-tier county, but
+Return the base url for a report (might be different in a two-tier county, but
most of the time will be same as base_url).
=cut
-sub url_for_report {
- my ( $self, $problem ) = @_;
- return $self->base_url . $problem->url;
+sub base_url_for_report {
+ my ( $self, $report ) = @_;
+ return $self->base_url;
}
=head2 base_host