diff --git a/app/controllers/text_marquees_controller.rb b/app/controllers/text_marquees_controller.rb
index ba82850..0f520d3 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.to_s.empty? ? "#{mqt.title}" : "#{mqt.title}")
}
end
{