diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-06-16 09:44:42 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-06-16 09:44:42 +0100 |
commit | 4cbadaa9cd86ff3c0a82ccb696d115c2496b287a (patch) | |
tree | ad3a88922b34518a1867a0bb4f73390d74d49006 | |
parent | 4a5db9ba96f454243dd952db34b279bbe664f766 (diff) |
Fix admin links in contact emails.
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Contact.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Contact.pm b/perllib/FixMyStreet/App/Controller/Contact.pm index 047de7691..88ac4987f 100644 --- a/perllib/FixMyStreet/App/Controller/Contact.pm +++ b/perllib/FixMyStreet/App/Controller/Contact.pm @@ -145,7 +145,7 @@ sub prepare_params_for_email : Private { my $problem_url = $base_url . '/report/' . $c->stash->{update}->problem_id . '#update_' . $c->stash->{update}->id; - my $admin_url = $admin_base_url . '?page=update_edit;id=' . $c->stash->{update}->id; + my $admin_url = $admin_base_url . 'update_edit/' . $c->stash->{update}->id; $c->stash->{message} .= sprintf( " \n\n[ Complaint about update %d on report %d - %s - %s ]", $c->stash->{update}->id, @@ -156,7 +156,7 @@ sub prepare_params_for_email : Private { elsif ( $c->stash->{problem} ) { my $problem_url = $base_url . '/report/' . $c->stash->{problem}->id; - my $admin_url = $admin_base_url . '?page=report_edit;id=' . $c->stash->{problem}->id; + my $admin_url = $admin_base_url . 'report_edit/' . $c->stash->{problem}->id; $c->stash->{message} .= sprintf( " \n\n[ Complaint about report %d - %s - %s ]", $c->stash->{problem}->id, |