Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/Greenspan-Hadleigh/lib/Greenspan/Hadleigh/Controller/Checkout/Confirmation.pm b/Greenspan-Hadleigh/lib/Greenspan/Hadleigh/Controller/Checkout/Confirmation.pm
- index e1b8121..d56ba3d 100644
- --- a/Greenspan-Hadleigh/lib/Greenspan/Hadleigh/Controller/Checkout/Confirmation.pm
- +++ b/Greenspan-Hadleigh/lib/Greenspan/Hadleigh/Controller/Checkout/Confirmation.pm
- @@ -21,9 +21,18 @@ Acts as an endpoint when no recognized command is specified
- =cut
- -sub display : Chained('../login_required') PathPart('confirmation') Args {
- +sub display : Chained('/') PathPart('checkout/confirmation') Args {
- my ($self,$c,$args) = @_;
- + $c->session->{signed_up_for_email} = 0;
- + $c->require_ssl;
- +
- + $c->res->header('Pragma' => 'no-cache');
- + $c->res->header('Cache-Control' => 'no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
- +
- + $c->stash->{lane} = 'redesign09';
- + $c->stash->{template} = "checkout/lanes/$lane/$page.tt";
- +
- my $cart_id = $c->flash->{completed_cart};
- if ( $c->debug and $c->req->params->{cart_id} ) {
- $cart_id = $c->req->params->{cart_id};
Add Comment
Please, Sign In to add comment