aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-05-25 14:09:16 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-05-25 14:09:16 +0100
commit34296c409fe2ab9f02e5aeb14100570a8fb68dea (patch)
tree86fd6d36e709af88311f34c9a68e6f816bd69985 /perllib/FixMyStreet/App.pm
parent089c187e9042a4c4118b504ba2ee8999a828d8a5 (diff)
Templating of OSM map.
Diffstat (limited to 'perllib/FixMyStreet/App.pm')
-rw-r--r--perllib/FixMyStreet/App.pm13
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( ... );