This website works better with JavaScript.
Home
Explore
Help
Sign In
bike
/
BikeShed-1
mirror of
https://github.com/fspc/BikeShed-1.git
Watch
1
Star
0
Fork
0
Code
Issues
Projects
Releases
Wiki
Activity
Velocipede's User, Sales, and Bike Inventory Web App
335
Commits
8
Branches
8
Tags
44 MiB
Tree:
894423e66f
BikeShed-1
/
app
/
views
/
api
/
v1
/
tasks
/
update.json.jbuilder
4 lines
73 B
Raw
Normal View
History
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
11 years ago
json.tasks [@tasks.map{|x| x[:record]}] do |task|
json.array! task
end