metamaps/metamaps

View on GitHub
app/controllers/main_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage

Method has too many lines. [11/10]
Open

  def home
    respond_to do |format|
      format.html do
        if authenticated?
          @maps = policy_scope(Map).where.not(name: 'Untitled Map').where.not(permission: 'private')
Severity: Minor
Found in app/controllers/main_controller.rb by rubocop

This cop checks if the length of a method exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable.

There are no issues that match your filters.

Category
Status