Skip to content

Commit 3c8fab6

Browse files
committed
Fix new event creation
parent_id should be mass-assignable by admin
1 parent 3df178c commit 3c8fab6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/models/event.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ class Event < ActiveRecord::Base
4646
:accept_selector_votes,
4747
:show_proposal_confirmation_controls,
4848
:parent,
49+
:parent_id,
4950
:as => :admin
5051

5152
cache_lookups_for :slug, :order => 'deadline desc', :include => [:tracks, :rooms]

0 commit comments

Comments
 (0)