Permalink
Browse files

minor fix for will_paginate.

  • Loading branch information...
yoosee committed Sep 18, 2018
1 parent 69cc143 commit d6b0021b5486c14ee7e0f635115187e323a05265
Showing with 0 additions and 3 deletions.
  1. +0 −3 app/controllers/articles_controller.rb
@@ -34,9 +34,6 @@ def rss
def drafts
# Drafts shows draft articles belongs to current_user. it isn't converted to html
@articles = current_user.articles.unscoped.draft.order("updated_at DESC").paginate(page: params[:page], :per_page => 10)
# @articles = articles.each do |article|
# article.content = markdown article.content
# end
end

def create

0 comments on commit d6b0021

Please sign in to comment.