diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-05-25 14:09:16 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-05-25 14:09:16 +0100 |
commit | 34296c409fe2ab9f02e5aeb14100570a8fb68dea (patch) | |
tree | 86fd6d36e709af88311f34c9a68e6f816bd69985 /perllib/FixMyStreet/App.pm | |
parent | 089c187e9042a4c4118b504ba2ee8999a828d8a5 (diff) |
Templating of OSM map.
Diffstat (limited to 'perllib/FixMyStreet/App.pm')
-rw-r--r-- | perllib/FixMyStreet/App.pm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App.pm b/perllib/FixMyStreet/App.pm index d6314ebf8..0c3a8d1cf 100644 --- a/perllib/FixMyStreet/App.pm +++ b/perllib/FixMyStreet/App.pm @@ -305,6 +305,19 @@ sub send_email { return $email; } +=head2 uri_with + + $uri = $c->uri_with( ... ); + +Simply forwards on to $c->req->uri_with - this is a common typo I make! + +=cut + +sub uri_with { + my $c = shift; + return $c->req->uri_with(@_); +} + =head2 uri_for $uri = $c->uri_for( ... ); |