hpi-swt2/workshop-portal

View on GitHub
config/routes.rb

Summary

Maintainability
A
0 mins
Test Coverage

Line is too long. [108/80]
Open

  get 'events/:id/send-rejection-emails' => 'events#send_rejection_emails', as: :event_send_rejection_emails
Severity: Minor
Found in config/routes.rb by rubocop

Line is too long. [111/80]
Open

  get 'events/:id/send-acceptance-emails' => 'events#send_acceptance_emails', as: :event_send_acceptance_emails
Severity: Minor
Found in config/routes.rb by rubocop

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

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

Align the parameters of a method call if they span more than one line.
Open

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

Here we check if the parameters on a multi-line method call or definition are aligned.

Example: EnforcedStyle: withfirstparameter (default)

# good

foo :bar,
    :baz

# bad

foo :bar,
  :baz

Example: EnforcedStyle: withfixedindentation

# good

foo :bar,
  :baz

# bad

foo :bar,
    :baz

There are no issues that match your filters.

Category
Status