mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 03:06:14 +02:00
parent
9e46222e6b
commit
b4ed8f6c82
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
module Admin
|
module Admin
|
||||||
class DomainsController < BaseController
|
class DomainsController < BaseController
|
||||||
load_and_authorize_resource
|
before_action :set_domain, only: %i[show edit update]
|
||||||
before_action :set_domain, only: [:show, :edit, :update]
|
authorize_resource
|
||||||
helper_method :force_delete_templates
|
helper_method :force_delete_templates
|
||||||
|
|
||||||
# rubocop: disable Metrics/PerceivedComplexity
|
# rubocop: disable Metrics/PerceivedComplexity
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue