Update payments_controller.rb

This commit is contained in:
2017-03-23 05:29:54 -04:00
committed by GitHub
parent a70ba2f164
commit ca17807117

View File

@@ -38,7 +38,7 @@ class PaymentsController < ApplicationController
private
def check_permissions
if !allowed_to?(:add_paypments)
if !allowed_to?(:add_payments)
render :file => "public/401.html.erb", :status => :unauthorized, :layout =>true
end
end