forked from saurabh/personal-project
paginates per
This commit is contained in:
parent
a9881e2838
commit
957ddd7431
|
@ -26,7 +26,7 @@ class Project
|
||||||
field :create_user_id, :type => BSON::ObjectId
|
field :create_user_id, :type => BSON::ObjectId
|
||||||
field :update_user_id, :type => BSON::ObjectId
|
field :update_user_id, :type => BSON::ObjectId
|
||||||
|
|
||||||
paginates_per 10
|
# paginates_per 10
|
||||||
|
|
||||||
has_many :project_files, :autosave => true, :dependent => :destroy
|
has_many :project_files, :autosave => true, :dependent => :destroy
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue