diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-02-05 11:34:12 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-02-05 11:34:12 +0000 |
commit | a605865fea720fdaeeecb65cc80223137eda4263 (patch) | |
tree | f80f6e9fde49711721aca08c5d8bc2c18a82d673 /perllib/FixMyStreet/App.pm | |
parent | 190fa4a8aa4f824fc797fd903a79a076bc59b7b4 (diff) | |
parent | 1ba5f1cb9d7951224bc1320e772b1c43aeeb9fda (diff) |
Merge branch '2242-automatic-permalink'
Diffstat (limited to 'perllib/FixMyStreet/App.pm')
-rw-r--r-- | perllib/FixMyStreet/App.pm | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/perllib/FixMyStreet/App.pm b/perllib/FixMyStreet/App.pm index 051308920..21f9082bb 100644 --- a/perllib/FixMyStreet/App.pm +++ b/perllib/FixMyStreet/App.pm @@ -420,27 +420,6 @@ sub uri_with { return $uri; } -=head2 uri_for - - $uri = $c->uri_for( ... ); - -Like C<uri_for> except that it passes the uri to the cobrand to be altered if -needed. - -=cut - -sub uri_for { - my $c = shift; - my @args = @_; - - my $uri = $c->next::method(@args); - - my $cobranded_uri = $c->cobrand->uri($uri); - - # note that the returned uri may be a string not an object (eg cities) - return $cobranded_uri; -} - =head2 uri_for_email $uri = $c->uri_for_email( ... ); |