Commit 19af3984

luu stiles <luuduong@gmail.com>
2012-01-04 08:37:55
changed paging to 9 so it fits 3 by 3 on creation page... still need to layout all creations to be like other pages
1 parent aa60ccf
Changed files (1)
app/controllers/creations_controller.rb
@@ -2,14 +2,14 @@ class CreationsController < ApplicationController
   before_filter :authenticate_user!, :except => [:show, :index]
   # GET /creations
   def index
-    @creations = Creation.page(params[:page]).per(8)
+    @creations = Creation.page(params[:page]).per(9)
   end
 
   # GET /creations/1
   def show
     @creation = Creation.find(params[:id])
     @profile = @creation.user
-    @creations = @creation.user.creations.page(params[:page]).per(8)
+    @creations = @creation.user.creations.page(params[:page]).per(9)
   end
 
   # GET /creations/new