mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
Rubocop updates
This commit is contained in:
parent
17eec8e298
commit
7e340415e1
6 changed files with 9 additions and 4 deletions
|
@ -1,6 +1,7 @@
|
|||
class Admin::DomainVersionsController < AdminController
|
||||
load_and_authorize_resource
|
||||
|
||||
# rubocop:disable Style/GuardClause
|
||||
def index
|
||||
@domain = Domain.find(params[:domain_id])
|
||||
@versions = @domain.versions
|
||||
|
@ -11,6 +12,7 @@ class Admin::DomainVersionsController < AdminController
|
|||
@pending_domain = Epp::Domain.new_from_epp(frame, @pending_user)
|
||||
end
|
||||
end
|
||||
# rubocop:enable Style/GuardClause
|
||||
|
||||
# def index
|
||||
# # @q = DomainVersion.deleted.search(params[:q])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue