Commit 270edd9e506e1e5ff7d5d078bfe281e511bfbd72
1 parent
e2fa14ef
Exists in
staging
and in
42 other branches
Change per page for track card pagination
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
plugins/community_track/controllers/public/community_track_plugin_public_controller.rb
| @@ -25,7 +25,7 @@ class CommunityTrackPluginPublicController < PublicController | @@ -25,7 +25,7 @@ class CommunityTrackPluginPublicController < PublicController | ||
| 25 | end | 25 | end |
| 26 | 26 | ||
| 27 | def all_tracks | 27 | def all_tracks |
| 28 | - @per_page = 5 #FIXME | 28 | + @per_page = 8 #FIXME |
| 29 | @block = Block.find(params[:id]) | 29 | @block = Block.find(params[:id]) |
| 30 | @tracks = @block.tracks(1, @per_page) | 30 | @tracks = @block.tracks(1, @per_page) |
| 31 | @show_more = @block.has_page?(2, @per_page) | 31 | @show_more = @block.has_page?(2, @per_page) |