Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

try ssl_exceptions instead

  • Loading branch information...
commit 42fb54e00c9f18f31f9103903d8577e1acc1e8ee 1 parent 01273a5
@nateberkopec nateberkopec authored
View
2  auth/app/controllers/user_registrations_controller.rb
@@ -3,7 +3,7 @@ class UserRegistrationsController < Devise::RegistrationsController
include ::SslRequirement
helper :users, 'spree/base'
- ssl_required :all
+ ssl_exceptions
after_filter :associate_user, :only => :create
before_filter :check_permissions, :only => [:edit, :update]
skip_before_filter :require_no_authentication
View
2  auth/app/controllers/users_controller.rb
@@ -2,7 +2,7 @@ class UsersController < Spree::BaseController
prepend_before_filter :load_object, :only => [:show, :edit, :update]
prepend_before_filter :authorize_actions, :only => :new
- ssl_required :all
+ ssl_exceptions
def show
@orders = @user.orders.complete
View
2  core/app/controllers/admin/base_controller.rb
@@ -1,5 +1,5 @@
class Admin::BaseController < Spree::BaseController
- ssl_required :all
+ ssl_exceptions
before_filter :check_alerts if Rails.env.production?
View
2  core/app/controllers/checkout_controller.rb
@@ -2,7 +2,7 @@
# Checkout object. There's enough distinct logic specific to checkout which has nothing to do with updating an
# order that this approach is waranted.
class CheckoutController < Spree::BaseController
- ssl_required :all
+ ssl_exceptions
before_filter :load_order
rescue_from Spree::GatewayError, :with => :rescue_from_spree_gateway_error
Please sign in to comment.
Something went wrong with that request. Please try again.