From eb7546faf1e20ad49ff989c0917876b3e5225233 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20de=20Villamil?= Date: Sun, 25 Aug 2013 15:58:29 +0200 Subject: [PATCH] Fixes a bug introduced by previous commit --- app/controllers/articles_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/articles_controller.rb b/app/controllers/articles_controller.rb index 6a0f60c96e..2a06f528ee 100644 --- a/app/controllers/articles_controller.rb +++ b/app/controllers/articles_controller.rb @@ -13,7 +13,7 @@ class ArticlesController < ContentController helper :'admin/base' def index - conditions = (Blog.default.statuses_in_timeline) ? ["type in (?, ?)", "Article", "Status"] : ["type = ?", "Article"] + conditions = (Blog.default.statuses_in_timeline) ? ["type in (?, ?)", "Article", "Note"] : ["type = ?", "Article"] respond_to do |format| format.html { @limit = this_blog.limit_article_display }