• Sign in

web / lex-deeit · Files

Dogs2 white

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Forks
  • Snippets
  • Network
  • lex-deeit
  • app
  • views
  • hosts
  • index.json.jbuilder
  • rename lxd_host to host as I plan a facade that will combine host and the lxd models for a host
      074f574e
    Georg Hopp authored
    2016-04-28 21:50:38 +0200  
    Browse Files »
index.json.jbuilder 114 Bytes
Raw Blame History Permalink
1 2 3 4
json.array!(@hosts) do |host|
  json.extract! host, :id, :name, :uri
  json.url host_url(host, format: :json)
end