Update payments_controller.rb

This commit is contained in:
ricky authored and GitHub committed 2017-03-23 05:29:54 -04:00
1 parent a70ba2f164
commit ca17807117
1 file changed
+1 -1
+1 -1
View File
@@ -38,7 +38,7 @@ class PaymentsController < ApplicationController
private
def check_permissions
if !allowed_to?(:add_paypments)
if !allowed_to?(:add_payments)
render :file => "public/401.html.erb", :status => :unauthorized, :layout =>true
end
end