1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-05 16:24:21 +01:00
fab-manager/app/views/api/licences/index.json.jbuilder
2015-05-05 03:10:25 +02:00

5 lines
137 B
Ruby

json.array!(@licences) do |licence|
json.extract! licence, :id, :name, :description
json.url licence_url(licence, format: :json)
end