diff --git a/app/controllers/payments_controller.rb b/app/controllers/payments_controller.rb index a25f31f..a1a4a2e 100644 --- a/app/controllers/payments_controller.rb +++ b/app/controllers/payments_controller.rb @@ -1,6 +1,6 @@ class PaymentsController < ApplicationController load_and_authorize_resource :payment - load_and_authorize_resource :user, :through => :payment + #load_and_authorize_resource :user, :through => :payment before_filter :authenticate_user! # Load users and certs based on current ability diff --git a/app/views/settings/edit.html.erb b/app/views/settings/edit.html.erb index 857b357..c5f6a7d 100644 --- a/app/views/settings/edit.html.erb +++ b/app/views/settings/edit.html.erb @@ -9,7 +9,7 @@ $(function(){