From c6d893a71dede65dd88a0dfac81178c8e81e27d2 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Thu, 22 Sep 2016 21:39:53 +0200 Subject: Uploading/undoing media modifies status text. Also: status text trimmed before validation --- app/controllers/media_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers') 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 -- cgit