Update submissions_controller.rb

This commit is contained in:
Niklas Kiefer
2017-03-27 15:52:06 +02:00
committed by GitHub
parent fb8558f5ab
commit 4fab791e7f

View File

@ -340,7 +340,7 @@ class SubmissionsController < ApplicationController
remote_evaluation_mapping = RemoteEvaluationMapping.create(:user_id => user_id, :exercise_id => exercise_id)
# create id.co file
# create .co file
path = "tmp/.co"
# parse validation token
content = "#{remote_evaluation_mapping.validation_token}\n"
@ -355,4 +355,4 @@ class SubmissionsController < ApplicationController
end
path
end
end
end