# File app/controllers/conferences_adm_controller.rb, line 94 def create_timeslot redirect_to :action => :timeslots, :id => @conference.id ts = Timeslot.new(params[:timeslot]) ts.conference = @conference if ts.save flash[:notice] << _('The requested timeslot was successfully created') else flash[:error] << _('Error creating the requested timeslot:<br/> %s') % ts.errors.full_messages.join("<br/>") end end