mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-16 05:04:03 +00:00
Remove attr_accessible from Program and Cfp, final fixes after introducing strong params
This commit is contained in:
parent
62a7e724a2
commit
a0d045e156
8 changed files with 95 additions and 105 deletions
|
|
@ -39,7 +39,7 @@ class ProposalController < ApplicationController
|
|||
|
||||
params[:event].delete :user
|
||||
|
||||
@event = Event.new(params[:event])
|
||||
@event = Event.new(event_params)
|
||||
@event.program = @program
|
||||
|
||||
@event.event_users.new(user: current_user,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue