mirror of
https://github.com/fspc/BikeShed-1.git
synced 2026-09-16 08:31:36 -04:00
Added tasks controller, spec, JS, apitesthelper
Had an issue with calling render_views in the specs to render the jbuilder json templates and also getting the devise sign_in method to work, ended up adding a helper to add the username/password for a user
This commit is contained in:
@@ -24,6 +24,8 @@ Velocipede::Application.routes.draw do
|
||||
post 'bikes/create' => "bikes#create", as: "api_create_bike"
|
||||
|
||||
get 'task_lists/:id' => "task_lists#show", as: "api_task_list"
|
||||
|
||||
put 'tasks/update' => "tasks#update", as: "api_update_task"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user