Skip to content

Commit 4610e9d

Browse files
Fix rubocop
1 parent c392ac5 commit 4610e9d

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
@@ -891,6 +891,8 @@ Rails/HasAndBelongsToMany:
891891
- 'app/models/question.rb'
892892
- 'app/models/registration.rb'
893893
- 'app/models/vchoice.rb'
894+
- 'app/models/event.rb'
895+
- 'app/models/user.rb'
894896

895897
# Offense count: 20
896898
# 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)