BenMusch/nu-tab

View on GitHub
app/controllers/teams_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage

Showing 4 of 4 total issues

Add an empty line after magic comments.
Open

class TeamsController < ApplicationController
Severity: Minor
Found in app/controllers/teams_controller.rb by rubocop

Put empty method definitions on a single line.
Open

def show
end
Severity: Minor
Found in app/controllers/teams_controller.rb by rubocop

Put empty method definitions on a single line.
Open

def edit
end
Severity: Minor
Found in app/controllers/teams_controller.rb by rubocop

Use %i or %I for an array of symbols.
Open

before_action :set_team, only: [:show, :edit, :update, :destroy]
Severity: Minor
Found in app/controllers/teams_controller.rb by rubocop

There are no issues that match your filters.

Category
Status