update notification
This commit is contained in:
@@ -4,9 +4,10 @@ class BaseOrigamiController < ActionController::Base
|
||||
|
||||
#before_action :check_installation
|
||||
protect_from_forgery with: :exception
|
||||
|
||||
rescue_from CanCan::AccessDenied do |exception|
|
||||
flash[:warning] = exception.message
|
||||
puts "ssssssssssss"
|
||||
puts flash
|
||||
redirect_to origami_root_path
|
||||
end
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
class Origami::CashOutsController < ApplicationController#BaseOrigamiController
|
||||
class Origami::CashOutsController < BaseOrigamiController
|
||||
def new
|
||||
end
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
class Origami::PayparPaymentsController < ApplicationController#BaseOrigamiController
|
||||
class Origami::PayparPaymentsController < BaseOrigamiController
|
||||
def create
|
||||
sale_id = params[:sale_id]
|
||||
redeem_amount = params[:redeem_amount]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
class Origami::VoidController < ApplicationController
|
||||
class Origami::VoidController < BaseOrigamiController
|
||||
authorize_resource :class => false
|
||||
def overall_void
|
||||
|
||||
|
||||
Reference in New Issue
Block a user