|
|
|
@ -156,8 +156,8 @@ class SoftapplicationsController < ApplicationController
|
|
|
|
|
format.html { redirect_to show_attendingcontest_contest_path(:id => params[:contest_id]), notice: l(:notice_attendingcontest_work_successfully_created) }
|
|
|
|
|
# format.json { render json: @softapplication, status: :created, location: @softapplication }
|
|
|
|
|
else
|
|
|
|
|
format.js { render status: 406 }
|
|
|
|
|
format.html { render action: "new" }
|
|
|
|
|
#format.js { render status: 406 }
|
|
|
|
|
format.html { render action: "contests/show_attendingcontest" }
|
|
|
|
|
# format.json { render json: @softapplication.errors, status: :unprocessable_entity }
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|