1
0
mirror of https://github.com/fspc/BikeShed-1.git synced 2025-03-01 01:03:23 -05:00
BikeShed-1/app/views/api/v1/tasks/update.json.jbuilder
Jason Denney e2f442889e 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
2014-03-09 22:30:41 -04:00

4 lines
73 B
Ruby

json.tasks [@tasks.map{|x| x[:record]}] do |task|
json.array! task
end