1
0
mirror of https://github.com/fspc/BikeShed-1.git synced 2025-04-04 05:33:22 -04:00

set per_page for bike brand

This commit is contained in:
Jason Denney 2012-12-08 16:35:13 -05:00
parent 0d5b93b0b1
commit 128cf32bfa

View File

@ -4,6 +4,8 @@ class BikeBrand < ActiveRecord::Base
has_many :bikes has_many :bikes
has_many :bike_models has_many :bike_models
self.per_page = 15
def models def models
self.bike_models self.bike_models
end end