Use BaseController in admin

This commit is contained in:
Artur Beljajev 2017-08-22 01:17:50 +03:00
parent cee4c84edd
commit a63b989cd6
36 changed files with 1265 additions and 1215 deletions

View file

@ -1,6 +1,6 @@
module Admin
module Billing
class PricesController < AdminController
class PricesController < BaseController
authorize_resource(class: 'Billing::Price')
before_action :load_price, only: %i[edit update expire]
helper_method :zones