mirror of
				https://github.com/fspc/BikeShed-1.git
				synced 2025-10-31 17:05:36 -04:00 
			
		
		
		
	set per_page for bike brand
This commit is contained in:
		
							parent
							
								
									0d5b93b0b1
								
							
						
					
					
						commit
						128cf32bfa
					
				| @ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user