Skip to content

Commit

Permalink
Apply Standard Formatting
Browse files Browse the repository at this point in the history
This commit resolves the following Standard formatting warning:

```
app/helpers/videos_helper.rb:3:14: Lint/AssignmentInCondition: Wrap assignment in parentheses if intentional
```
  • Loading branch information
smaboshe committed Sep 9, 2024
1 parent 115636f commit cf77051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/videos_helper.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module VideosHelper
def topic_slugs(object)
if topic = object.topics.first
if (topic = object.topics.first)
topic.slug.parameterize
end
end
Expand Down

0 comments on commit cf77051

Please sign in to comment.