mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 03:06:14 +02:00
Use BaseController in admin
This commit is contained in:
parent
cee4c84edd
commit
a63b989cd6
36 changed files with 1265 additions and 1215 deletions
|
@ -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]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue