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
4353e910c8
commit
c0ae01018b
1 file changed
+1
-1
@@ -12,7 +12,7 @@ class PaymentsController < ApplicationController
|
||||
|
||||
include AuthHelper
|
||||
|
||||
before_filter :find_project, :authorize, :only => :new
|
||||
before_filter :find_project, User.current.allowed_to?(:add_paypments, @project)
|
||||
|
||||
def new
|
||||
@payment = Payment.new
|
||||
|
||||
Reference in new issue
Block a user