Skip to content

Commit

Permalink
change front page blog length (#2954)
Browse files Browse the repository at this point in the history
* change front page blog length

* Update home_controller.rb
  • Loading branch information
jywarren authored Jul 1, 2018
1 parent abdc451 commit 0d8477e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/home_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def blog
.references(:term_data, :node_revisions)
.where('term_data.name = ?', 'blog')
.order('created DESC')
.page(params[:page])
.paginate(page: params[:page], per_page: 8)
end

# Proxy to enable AJAX loading of RSS feeds, which requires same-origin.
Expand Down

0 comments on commit 0d8477e

Please sign in to comment.