NIT-dgp/cat-forum

View on GitHub
app/controllers/users/omniauth_callbacks_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage

Favor a normal if-statement over a modifier clause in a multiline statement.
Open

      set_flash_message(
        :notice,
        :success,
        kind: 'Facebook'
      ) if is_navigational_format?

Checks for uses of if/unless modifiers with multiple-lines bodies.

Example:

# bad
{
  result: 'this should not happen'
} unless cond

# good
{ result: 'ok' } if cond

There are no issues that match your filters.

Category
Status