Skip to content

Commit a287348

Browse files
Fix rubocop
1 parent 4c7add3 commit a287348

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.rubocop_todo.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -884,6 +884,8 @@ Rails/HasAndBelongsToMany:
884884
- 'app/models/question.rb'
885885
- 'app/models/registration.rb'
886886
- 'app/models/vchoice.rb'
887+
- 'app/models/event.rb'
888+
- 'app/models/user.rb'
887889

888890
# Offense count: 20
889891
# Configuration parameters: Include.

app/controllers/proposals_controller.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ class ProposalsController < ApplicationController
88
# We authorize manually in these actions
99
skip_authorize_resource :event, only: [:confirm, :restart, :withdraw]
1010

11-
1211
def index
1312
@event = @program.events.new
1413
@event.event_users.new(user: current_user, event_role: 'submitter')

0 commit comments

Comments
 (0)