Sha256: fb021c6b63b5a6c5cdc348af364ce773a19a838d14adac18f354e4085e99104a

Contents?: true

Size: 119 Bytes

Versions: 44

Compression:

Stored size: 119 Bytes

Contents

json.array!(@galaxies) do |galaxy|
  json.extract! galaxy, :id, :name
  json.url galaxy_url(galaxy, format: :json)
end

Version data entries

44 entries across 4 versions & 1 rubygems

Version Path
tabulous-2.1.1 spec/applications/custom_renderer/rails_4-1-1/app/views/galaxies/index.json.jbuilder
tabulous-2.1.1 spec/applications/custom_renderer/rails_4-0-5/app/views/galaxies/index.json.jbuilder
tabulous-2.1.1 spec/applications/bootstrap/rails_4-1-1/app/views/galaxies/index.json.jbuilder
tabulous-2.1.1 spec/applications/simple_tabs/rails_4-1-1/app/views/galaxies/index.json.jbuilder