update authorize void and edit in cashier

This commit is contained in:
Aung Myo
2017-06-29 15:39:46 +06:30
parent f60c145c00
commit 9305e0c4b4
5 changed files with 18 additions and 10 deletions

View File

@@ -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