summaryrefslogtreecommitdiff
path: root/app/views/sessions/index.json.jbuilder
blob: 5205edee9086f1b590ef9229e9faa1b5855e3a91 (plain)
1
2
3
4
json.array!(@sessions) do |session|
  json.extract! session, :id, :user_id, :token
  json.url session_url(session, format: :json)
end