Skip to content

Commit

Permalink
Remove explicit self where not needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
djberg96 committed Mar 4, 2019
1 parent 68f67eb commit ec9b8d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/conversion_host.rb
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,6 @@ def tag_resource_as_disabled
# Set the default name to the name of the associated resource.
#
def default_name
self.name ||= self.resource&.name
self.name ||= resource&.name
end
end

0 comments on commit ec9b8d5

Please sign in to comment.