Skip to content

Commit

Permalink
Apply new rubocop rules
Browse files Browse the repository at this point in the history
  • Loading branch information
elceebee committed Oct 17, 2024
1 parent a6e2dc2 commit 01cc541
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/models/concerns/authenticated_using_magic_links.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ def authenticate!(token)
)

authentication_token&.still_valid? &&
authentication_token&.use! &&
authentication_token&.user
authentication_token.use! &&
authentication_token.user
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ def describe
Rails.logger.info { "========= #{key.to_s.humanize} ==========" }
Rails.logger.info value
Rails.logger.info '=' * 40
end; nil
end
nil
end
end
end
Expand Down

0 comments on commit 01cc541

Please sign in to comment.