njazari/sef-founderwall

View on GitHub
config/routes.rb

Summary

Maintainability
A
0 mins
Test Coverage

Line is too long. [81/80]
Open

  # Example resource route (maps HTTP verbs to controller actions automatically):
Severity: Minor
Found in config/routes.rb by rubocop

Incorrect indentation detected (column 0 instead of 2).
Open

#  devise_for :users
Severity: Minor
Found in config/routes.rb by rubocop

This cops checks the indentation of comments.

Example:

# bad
  # comment here
def method_name
end

  # comment here
a = 'hello'

# yet another comment
  if true
    true
  end

# good
# comment here
def method_name
end

# comment here
a = 'hello'

# yet another comment
if true
  true
end

Line is too long. [84/80]
Open

  # The priority is based upon order of creation: first created -> highest priority.
Severity: Minor
Found in config/routes.rb by rubocop

Trailing whitespace detected.
Open

  
Severity: Minor
Found in config/routes.rb by rubocop

Trailing whitespace detected.
Open

  
Severity: Minor
Found in config/routes.rb by rubocop

Extra empty line detected at block body beginning.
Open


  mount RailsAdmin::Engine => '/admin', as: 'rails_admin'
Severity: Minor
Found in config/routes.rb by rubocop

This cops checks if empty lines around the bodies of blocks match the configuration.

Example: EnforcedStyle: empty_lines

# good

foo do |bar|

  # ...

end

Example: EnforcedStyle: noemptylines (default)

# good

foo do |bar|
  # ...
end

There are no issues that match your filters.

Category
Status