Skip to content

Commit

Permalink
rubocop indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mccalluc committed Jan 18, 2023
1 parent 43a2dc5 commit 822ef0d
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions app/models/work_activity.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,16 @@ def log_event_type?

def to_html
klass = if activity_type == CHANGES
MetadataChanges
elsif activity_type == FILE_CHANGES
FileChanges
elsif CHANGE_LOG_ACTIVITY_TYPES.include?(activity_type)
OtherLogEvent
else
Message
end
renderer = klass.new(self)
renderer.to_html
MetadataChanges
elsif activity_type == FILE_CHANGES
FileChanges
elsif CHANGE_LOG_ACTIVITY_TYPES.include?(activity_type)
OtherLogEvent
else
Message
end
renderer = klass.new(self)
renderer.to_html
end

class Renderer
Expand Down

0 comments on commit 822ef0d

Please sign in to comment.