Skip to content

Commit

Permalink
Fix rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
differentreality committed Nov 4, 2018
1 parent 4c7add3 commit a287348
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -884,6 +884,8 @@ Rails/HasAndBelongsToMany:
- 'app/models/question.rb'
- 'app/models/registration.rb'
- 'app/models/vchoice.rb'
- 'app/models/event.rb'
- 'app/models/user.rb'

# Offense count: 20
# Configuration parameters: Include.
Expand Down
1 change: 0 additions & 1 deletion app/controllers/proposals_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ class ProposalsController < ApplicationController
# We authorize manually in these actions
skip_authorize_resource :event, only: [:confirm, :restart, :withdraw]


def index
@event = @program.events.new
@event.event_users.new(user: current_user, event_role: 'submitter')
Expand Down

0 comments on commit a287348

Please sign in to comment.