forked from saurabh/personal-patent
paginates per
This commit is contained in:
parent
0f541712aa
commit
75573476de
|
@ -27,7 +27,7 @@ class Patent
|
|||
field :create_user_id, :type => BSON::ObjectId
|
||||
field :update_user_id, :type => BSON::ObjectId
|
||||
|
||||
paginates_per 10
|
||||
# paginates_per 10
|
||||
|
||||
has_many :patent_files, :autosave => true, :dependent => :destroy
|
||||
accepts_nested_attributes_for :patent_files, :allow_destroy => true
|
||||
|
|
Loading…
Reference in New Issue