Update payments_controller.rb

This commit is contained in:
2017-03-23 05:01:01 -04:00
committed by GitHub
parent 4353e910c8
commit c0ae01018b

View File

@@ -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