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 DNS
class ZonesController < AdminController
class ZonesController < BaseController
authorize_resource(class: 'DNS::Zone')
before_action :load_zone, only: %i[edit update destroy]