BS3: show bike.

This commit is contained in:
Ilya Konanykhin
2016-12-22 23:47:11 +06:00
parent e8506f6fbc
commit 1106e08098
3 changed files with 32 additions and 13 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ class BikesController < AuthenticatedController
def show
@bike = Bike.find_by_id(params[:id])
@task_list_id = @bike.task_list.id
@task_list = @bike.task_list
@show_add_bike = true if params[:add_bike]
end