Guest User

Untitled

a guest
Jul 20th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. diff --git a/Greenspan-Hadleigh/lib/Greenspan/Hadleigh/Controller/Checkout/Confirmation.pm b/Greenspan-Hadleigh/lib/Greenspan/Hadleigh/Controller/Checkout/Confirmation.pm
  2. index e1b8121..d56ba3d 100644
  3. --- a/Greenspan-Hadleigh/lib/Greenspan/Hadleigh/Controller/Checkout/Confirmation.pm
  4. +++ b/Greenspan-Hadleigh/lib/Greenspan/Hadleigh/Controller/Checkout/Confirmation.pm
  5. @@ -21,9 +21,18 @@ Acts as an endpoint when no recognized command is specified
  6.  
  7. =cut
  8.  
  9. -sub display : Chained('../login_required') PathPart('confirmation') Args {
  10. +sub display : Chained('/') PathPart('checkout/confirmation') Args {
  11. my ($self,$c,$args) = @_;
  12.  
  13. + $c->session->{signed_up_for_email} = 0;
  14. + $c->require_ssl;
  15. +
  16. + $c->res->header('Pragma' => 'no-cache');
  17. + $c->res->header('Cache-Control' => 'no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
  18. +
  19. + $c->stash->{lane} = 'redesign09';
  20. + $c->stash->{template} = "checkout/lanes/$lane/$page.tt";
  21. +
  22. my $cart_id = $c->flash->{completed_cart};
  23. if ( $c->debug and $c->req->params->{cart_id} ) {
  24. $cart_id = $c->req->params->{cart_id};
Add Comment
Please, Sign In to add comment