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 :bike_models
self.per_page = 15
def models
self.bike_models
end

Loading…
Cancel
Save