mirror of https://github.com/fspc/BikeShed-1.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
300 B
10 lines
300 B
class BikesController < AuthenticatedController
|
|
|
|
def new
|
|
@brands = BikeBrand.all.map{ |b| [b.brand, b.id] }
|
|
@brands.unshift( ["Select a brand", -1] )
|
|
@wheel_sizes = BikeWheelSize.all.map{ |w| [w.display_string, w.id] }
|
|
@wheel_sizes.unshift( ["Select a wheel size", -1] )
|
|
end
|
|
|
|
end
|
|
|