app/controllers/iugu/account_controller.rb in iugusdk-1.0.0.alpha.25 vs app/controllers/iugu/account_controller.rb in iugusdk-1.0.0.alpha.26

- old
+ new

@@ -1,8 +1,8 @@ class Iugu::AccountController < Iugu::AccountSettingsController before_filter(:only => [:destroy, :cancel_destruction, :update]) { |c| c.must_be :owner, :id } - before_filter(:only => [:generate_new_token]) { |c| c.must_be :owner, :account_id } + before_filter(:only => [:payment_history, :generate_new_token]) { |c| c.must_be :owner, :account_id } def index @accounts = current_user.accounts.order(:created_at) render 'iugu/settings/accounts' end