Skip to content

Commit b94a2fd

Browse files
committed
Redirect to edit instead of show
This is good for two reasons: - It gives some time for the transcoder to handle the video before the user gets to it - It prompts for a better title and genre
1 parent f7fc4b2 commit b94a2fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/videos_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def upload_callback
249249
@video.update_manifest(manifest)
250250
sss.create_video(@video) if sss
251251

252-
redirect_to action: :show, id: @video.uuid
252+
redirect_to action: :edit, id: @video.uuid
253253
end
254254

255255
def destroy

0 commit comments

Comments
 (0)