mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 08:54:23 -05:00
Added before filter to check permissions
This commit is contained in:
@@ -12,7 +12,7 @@ class PaymentsController < ApplicationController
|
||||
|
||||
include AuthHelper
|
||||
|
||||
before_filter :require_user
|
||||
before_filter :add_payments, :authorize
|
||||
|
||||
def new
|
||||
@payment = Payment.new
|
||||
|
||||
Reference in New Issue
Block a user