daily pastebin goal
18%
SHARE
TWEET

Untitled

a guest Jul 20th, 2018 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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};
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top