From 7d7aef4b5a66f2b973ef2b9458b17688cb58ea3b Mon Sep 17 00:00:00 2001 From: chiu Date: Thu, 5 Sep 2019 17:51:19 +0800 Subject: [PATCH] Update text_marquees_controller.rb fix error --- app/controllers/text_marquees_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/text_marquees_controller.rb b/app/controllers/text_marquees_controller.rb index 59717d7..ba82850 100644 --- a/app/controllers/text_marquees_controller.rb +++ b/app/controllers/text_marquees_controller.rb @@ -7,7 +7,7 @@ class TextMarqueesController < ApplicationController "text" => mqt.title, "speed" => mqt.speed, "url" => (mqt.url || ""), - "content" => (mqt.url.nil? ? "#{mqt.title}" : "#{mqt.title}") + "content" => (mqt.url.nil? ? "#{mqt.title}" : "#{mqt.title}") } end {