update authorize void and edit in cashier
This commit is contained in:
@@ -7,7 +7,7 @@ class BaseOrigamiController < ActionController::Base
|
||||
|
||||
rescue_from CanCan::AccessDenied do |exception|
|
||||
flash[:warning] = exception.message
|
||||
redirect_to root_path
|
||||
redirect_to origami_root_path
|
||||
end
|
||||
|
||||
def current_user
|
||||
|
||||
Reference in New Issue
Block a user