Sha256: b47b92e57c78cbed8575bfafdf76980dfbf9125bb9b0fc31d43f6e1262182d20

Contents?: true

Size: 293 Bytes

Versions: 1

Compression:

Stored size: 293 Bytes

Contents

json.answer "pong"

if signed_in?
  json.secured "pong"

  json.links do
    json.profile api_url(:profile, :get)
    json.companies api_url(:companies, :get)
    json.projects api_url(:projects, :get)
  end
else
  json.links do
    json.authrizations api_url(:authorizations, :get)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
billet-0.0.1 lib/generators/billet/namespace/templates/views/api_views/ping/index.json.jbuilder