mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Update payments_controller.rb
This commit is contained in:
@@ -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