mirror of
https://github.com/fspc/BikeShed-1.git
synced 2025-03-01 01:03:23 -05:00
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
4 lines
73 B
Ruby
4 lines
73 B
Ruby
json.tasks [@tasks.map{|x| x[:record]}] do |task|
|
|
json.array! task
|
|
end
|