budget/app/views/sessions/_session.json.jbuilder

2 lines
98 B
Ruby

json.extract! session, :id, :created_at, :updated_at
json.url session_url(session, format: :json)