diff --git a/app/controllers/faqs_controller.rb b/app/controllers/faqs_controller.rb index 9e52db1..c4c176e 100644 --- a/app/controllers/faqs_controller.rb +++ b/app/controllers/faqs_controller.rb @@ -37,14 +37,14 @@ class FaqsController < ApplicationController def widget faqs = Qa.filter_by_widget_categories.collect do |qa| { - "link_to_show" => OrbitHelper.url_to_show(qa.to_param), + "link_to_show" => OrbitHelper.widget_item_url(qa.to_param), "title" => qa.title, "postdate" => qa.created_at.strftime('%Y-%m-%d %H:%M') } end { "faqs" => faqs, - "extras" => {"widget-title"=>"Faqs"} + "extras" => {"widget-title"=>"Faqs","more_url"=>OrbitHelper.widget_more_url} } end end \ No newline at end of file