diff options
author | Azul <azul@riseup.net> | 2016-08-18 11:00:16 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2016-08-19 11:15:31 +0200 |
commit | fbad882075e745ab7afbe5f89c67544fb3c607c3 (patch) | |
tree | d55e4c4dd3a6612e04e0fd40e736c8b6d4342762 /engines/billing/app/controllers/billing_admin_controller.rb | |
parent | 20bb76848b852bba9ab3c99b1c2a68464585bd56 (diff) |
respond_to on a per controller basis
If you inherit respond to and call it again in your controller
it will not overwrite the previous but add to it.
Since we always have some exceptions from the rules it's probably
easiest to be explicit in the controllers that require it themselves.
Diffstat (limited to 'engines/billing/app/controllers/billing_admin_controller.rb')
-rw-r--r-- | engines/billing/app/controllers/billing_admin_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/billing/app/controllers/billing_admin_controller.rb b/engines/billing/app/controllers/billing_admin_controller.rb index 23740d6..7a1de30 100644 --- a/engines/billing/app/controllers/billing_admin_controller.rb +++ b/engines/billing/app/controllers/billing_admin_controller.rb @@ -1,5 +1,6 @@ class BillingAdminController < BillingBaseController before_filter :require_admin + respond_to :html #not sure if this controller is still needed. Admin can easly acess #braintree's dashboard and check subscriptions. Don't know if everything |