Add Event Type editing to the Conference form #20
@ -2,6 +2,7 @@ module Management
|
||||
class ConferencesController < ManagementController
|
||||
def new
|
||||
@conference = Conference.new
|
||||
@conference.event_types.build(name: 'Event type 1')
|
||||
@conference.tracks.build(name: 'Track 1')
|
||||
@conference.halls.build(name: 'Hall 1')
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user