Skip to content

Commit

Permalink
Fixes a bug introduced by previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Frédéric de Villamil committed Aug 25, 2013
1 parent 8c12dd0 commit eb7546f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/articles_controller.rb
Expand Up @@ -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 }
Expand Down

0 comments on commit eb7546f

Please sign in to comment.