Show add another bike link after creating bike

This commit is contained in:
Jason Denney
2014-05-04 11:14:50 -04:00
parent b9b6ed5ca0
commit 5c4007a1be
3 changed files with 6 additions and 1 deletions
+1
View File
@@ -10,6 +10,7 @@ class BikesController < AuthenticatedController
def show
@bike = Bike.find_by_id(params[:id])
@task_list_id = @bike.task_list.id
@show_add_bike = true if params[:add_bike]
end
end