diff options
author | Struan Donald <struan@exo.org.uk> | 2011-05-26 14:34:57 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-05-26 14:34:57 +0100 |
commit | 8ab2f611d11503cc7fea779be7f7c2b314f91e74 (patch) | |
tree | fb5e4f8e6ebe774a11395468c488a9ed26f1ce51 /perllib/FixMyStreet/App/Controller/Report/New.pm | |
parent | 408b256e4f863a43c4f81209106b4ac23aaa666a (diff) | |
parent | 14a70af1b2e89efef459cf206ef88683889ab10c (diff) |
Merge branch 'migrate_to_catalyst' of ssh://git.mysociety.org/data/git/public/fixmystreet into migrate_to_catalyst
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report/New.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report/New.pm | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report/New.pm b/perllib/FixMyStreet/App/Controller/Report/New.pm index ba864eca4..e113517f9 100644 --- a/perllib/FixMyStreet/App/Controller/Report/New.pm +++ b/perllib/FixMyStreet/App/Controller/Report/New.pm @@ -77,9 +77,6 @@ all_pins: related to map display - not relevant to creation of a new report sub report_new : Path : Args(0) { my ( $self, $c ) = @_; - # set up the page - $c->forward('setup_page'); - # create the report - loading a partial if available $c->forward('initialize_report'); @@ -270,20 +267,6 @@ sub report_import : Path('/import') { return 1; } -=head2 setup_page - -Setup the page - notably add the map js to the stash - -=cut - -sub setup_page : Private { - my ( $self, $c ) = @_; - - $c->stash->{extra_js_verbatim} = FixMyStreet::Map::header_js(); - - return 1; -} - =head2 initialize_report Create the report and set up some basics in it. If there is a partial report |