mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 09:10:43 -04:00
Update payments_controller.rb
This commit is contained in:
1 parent
72cd349c1b
commit
78ac97298c
1 file changed
+1
-1
@@ -38,7 +38,7 @@ class PaymentsController < ApplicationController
|
|||||||
private
|
private
|
||||||
|
|
||||||
def check_permissions
|
def check_permissions
|
||||||
allowed_to?(:add_paypments)
|
render :file => "public/401.html.erb", :status => :unauthorized, :layout =>true if! allowed_to?(:add_paypments)
|
||||||
end
|
end
|
||||||
|
|
||||||
def only_one_non_zero?( array )
|
def only_one_non_zero?( array )
|
||||||
|
|||||||
Reference in new issue
Block a user