Update text_marquees_controller.rb

This commit is contained in:
chiu 2019-09-05 17:56:08 +08:00
parent 98b99dddbd
commit b9dbfda696
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@ class TextMarqueesController < ApplicationController
subpart = OrbitHelper.get_current_widget
marquee = Marquee.find(OrbitHelper.widget_custom_value)
texts = marquee.marquee_texts.collect do |mqt|
puts mqt.url
{
"text" => mqt.title,
"speed" => mqt.speed,