aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2014-03-11 17:34:38 +0000
committerMatthew Somerville <matthew@mysociety.org>2014-03-11 17:34:38 +0000
commit4df8d9979a4325bf2b47f401b4095654dd43d3a9 (patch)
tree64984c71916683830a1b1eef4deee8a04307cd80 /perllib/FixMyStreet/App/Controller
parenteee9a69a1959f060fdbe7d346d594a76a3b39909 (diff)
parentde47a7fad977156c67748deed6b3f154fc849035 (diff)
Merge remote branch 'origin/sweden-rebase'
Conflicts: bin/update-schema locale/sv_SE.UTF-8/LC_MESSAGES/FixMyStreet.po perllib/FixMyStreet/DB/Result/Body.pm
Diffstat (limited to 'perllib/FixMyStreet/App/Controller')
-rw-r--r--perllib/FixMyStreet/App/Controller/Report/New.pm1
-rwxr-xr-xperllib/FixMyStreet/App/Controller/Static.pm4
2 files changed, 5 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report/New.pm b/perllib/FixMyStreet/App/Controller/Report/New.pm
index fcab4e49a..a419e9cc1 100644
--- a/perllib/FixMyStreet/App/Controller/Report/New.pm
+++ b/perllib/FixMyStreet/App/Controller/Report/New.pm
@@ -678,6 +678,7 @@ sub setup_categories_and_bodies : Private {
# put results onto stash for display
$c->stash->{bodies} = \%bodies;
$c->stash->{all_body_names} = [ map { $_->name } values %bodies ];
+ $c->stash->{all_body_urls} = [ map { $_->external_url } values %bodies ];
$c->stash->{bodies_to_list} = [ keys %bodies_to_list ];
$c->stash->{category_options} = \@category_options;
$c->stash->{category_extras} = \%category_extras;
diff --git a/perllib/FixMyStreet/App/Controller/Static.pm b/perllib/FixMyStreet/App/Controller/Static.pm
index 6cc22aede..40e2431ea 100755
--- a/perllib/FixMyStreet/App/Controller/Static.pm
+++ b/perllib/FixMyStreet/App/Controller/Static.pm
@@ -57,6 +57,10 @@ sub iphone : Global : Args(0) {
my ( $self, $c ) = @_;
}
+sub council : Global : Args(0) {
+ my ( $self, $c ) = @_;
+}
+
__PACKAGE__->meta->make_immutable;
1;