Skip to content

Commit

Permalink
Merge pull request #110 from swcraig/remove-skipping-undefined-callback
Browse files Browse the repository at this point in the history
Stop raising an exception when callback in UsersController is undefined
  • Loading branch information
stewart authored Sep 12, 2017
2 parents ca7bdb4 + 0cee8e7 commit ecc5970
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/controllers/frontend/spree/users_controller.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class Spree::UsersController < Spree::StoreController
skip_before_action :set_current_order, only: :show
skip_before_action :set_current_order, only: :show, raise: false
prepend_before_action :load_object, only: [:show, :edit, :update]
prepend_before_action :authorize_actions, only: :new

Expand Down

0 comments on commit ecc5970

Please sign in to comment.