mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 06:34:46 +02:00
Merge branch 'master' into registry-790
# Conflicts: # app/models/domain_cron.rb # lib/tasks/dev.rake
This commit is contained in:
commit
5b821f4074
77 changed files with 278 additions and 496 deletions
|
@ -4,9 +4,6 @@ module Admin
|
|||
authorize_resource
|
||||
helper_method :force_delete_templates
|
||||
|
||||
# rubocop: disable Metrics/PerceivedComplexity
|
||||
# rubocop: disable Metrics/CyclomaticComplexity
|
||||
# rubocop: disable Metrics/AbcSize
|
||||
def index
|
||||
params[:q] ||= {}
|
||||
if params[:statuses_contains]
|
||||
|
@ -35,10 +32,6 @@ module Admin
|
|||
@domains = @domains.per(params[:results_per_page]) if params[:results_per_page].to_i.positive?
|
||||
end
|
||||
|
||||
# rubocop: enable Metrics/PerceivedComplexity
|
||||
# rubocop: enable Metrics/CyclomaticComplexity
|
||||
# rubocop: enable Metrics/AbcSize
|
||||
|
||||
def show
|
||||
# Validation is needed to warn users
|
||||
@domain.validate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue