Browse Source

set per_page for bike brand

denney-disable-on-select
Jason Denney 12 years ago
parent
commit
128cf32bfa
  1. 2
      app/models/bike_brand.rb

2
app/models/bike_brand.rb

@ -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

Loading…
Cancel
Save