Added bike show and show view

This commit is contained in:
Jason Denney
2014-02-09 19:11:08 -05:00
parent d0c05a0244
commit c6a3ed9991
2 changed files with 28 additions and 1 deletions
+4
View File
@@ -7,4 +7,8 @@ class BikesController < AuthenticatedController
@wheel_sizes.unshift( ["Select a wheel size", -1] )
end
def show
@bike = Bike.find_by_id(params[:id])
end
end