Skip to content

Commit

Permalink
fix: remove unneeded whitespace in concatenated string
Browse files Browse the repository at this point in the history
  • Loading branch information
SilasPeters committed Dec 25, 2024
1 parent d4fcce2 commit 0a5c32e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/models/activity.rb
Original file line number Diff line number Diff line change
Expand Up @@ -462,9 +462,9 @@ def to_calendar_event(locale)
end

event.summary = name
event.description = "#{ activity_url }\r\n\r\n\
#{ description_localised(locale) }\r\n\r\n\
Last synced on: #{ DateTime.current.utc }"
event.description = "#{ activity_url }\r\n\r\n"\
"#{ description_localised(locale) }\r\n\r\n"\
"Last synced on: #{ DateTime.current.utc }"
event.location = location
return event
end
Expand Down

0 comments on commit 0a5c32e

Please sign in to comment.