Fix bug.
This commit is contained in:
parent
69630dd4ee
commit
b9dd7d9afc
|
@ -2,7 +2,7 @@ class WebResourcesController < ApplicationController
|
||||||
require 'nokogiri'
|
require 'nokogiri'
|
||||||
def index
|
def index
|
||||||
OrbitHelper.render_css_in_head(["web_resources_front"])
|
OrbitHelper.render_css_in_head(["web_resources_front"])
|
||||||
links = WebLink.where(:title.ne => "").can_display.filter_by_categories
|
links = WebLink.where(:title.ne => "").can_display.filter_by_categories.filter_by_tags
|
||||||
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