app/controllers/naf/applications_controller.rb in naf-1.1.4 vs app/controllers/naf/applications_controller.rb in naf-2.0.0

- old
+ new

@@ -42,11 +42,14 @@ app_schedule.application_schedule_prerequisites.build end def create @application = Naf::Application.new(params[:application]) + check_application_run_group_name + set_application_run_group_name if @application.save app_schedule = @application.application_schedule + @application.update_attributes(params[:application]) if app_schedule.present? prerequisites = app_schedule.prerequisites.map do |prerequisite| prerequisite.title end.join(', ')