diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-22 21:39:53 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-22 21:39:53 +0200 |
commit | c6d893a71dede65dd88a0dfac81178c8e81e27d2 (patch) | |
tree | bb557a00fc8be550f32bec792be4530dc0729643 /app/controllers | |
parent | b1a670af8d098c33a8938662f5c0bd60674ea683 (diff) |
Uploading/undoing media modifies status text. Also: status text trimmed before validation
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/media_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/media_controller.rb b/app/controllers/media_controller.rb index 5a7b0bcbd..edfcdae53 100644 --- a/app/controllers/media_controller.rb +++ b/app/controllers/media_controller.rb @@ -2,7 +2,7 @@ class MediaController < ApplicationController before_action :set_media_attachment def show - redirect TagManager.instance.url_for(@media_attachment.status) + redirect_to TagManager.instance.url_for(@media_attachment.status) end private |