mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 20:18:22 +02:00
Rubocop autocorrect
This commit is contained in:
parent
f8c48a7456
commit
6c5c0b38c8
59 changed files with 533 additions and 546 deletions
|
@ -1,8 +1,8 @@
|
|||
module Shared::UserStamper
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
def stamp obj
|
||||
return false if obj.nil? || !obj.has_attribute?( :created_by_id && :updated_by_id )
|
||||
def stamp(obj)
|
||||
return false if obj.nil? || !obj.has_attribute?(:created_by_id && :updated_by_id)
|
||||
|
||||
if obj.new_record?
|
||||
obj.created_by_id = current_epp_user.id
|
||||
|
@ -10,6 +10,6 @@ module Shared::UserStamper
|
|||
obj.updated_by_id = current_epp_user.id
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
true
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue