update title language show
This commit is contained in:
parent
cf4e736e68
commit
c25a3d3e92
|
@ -1,7 +1,7 @@
|
||||||
class WebResourcesController < ApplicationController
|
class WebResourcesController < ApplicationController
|
||||||
|
|
||||||
def index
|
def index
|
||||||
links = WebLink.can_display.filter_by_categories
|
links = WebLink.where(:title.ne => "").can_display.filter_by_categories
|
||||||
web_link = links.collect do |link|
|
web_link = links.collect do |link|
|
||||||
statuses = link.statuses_with_classname.collect do |status|
|
statuses = link.statuses_with_classname.collect do |status|
|
||||||
{
|
{
|
||||||
|
@ -26,7 +26,7 @@ class WebResourcesController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def widget
|
def widget
|
||||||
links = WebLink.can_display.filter_by_widget_categories
|
links = WebLink.where(:title.ne => "").can_display.filter_by_widget_categories
|
||||||
web_link = links.collect do |link|
|
web_link = links.collect do |link|
|
||||||
statuses = link.statuses_with_classname.collect do |status|
|
statuses = link.statuses_with_classname.collect do |status|
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue