Merge pull request #930 from openHPI/own-project

Rebrush action sidebar for implement view
This commit is contained in:
Sebastian Serth
2021-06-01 17:38:55 +02:00
committed by GitHub
12 changed files with 88 additions and 69 deletions

View File

@ -18,7 +18,7 @@ module CodeOcean
@file.content = content
end
authorize!
create_and_respond(object: @file, path: proc { implement_exercise_path(@file.context.exercise, tab: 2) })
create_and_respond(object: @file, path: proc { implement_exercise_path(@file.context.exercise) })
end
def create_and_respond(options = {})