Open-Source-Access-Control-.../app/views/space_api/index.html.erb

12 lines
225 B
Plaintext
Raw Normal View History

<h2>Space Status API
<%= link_to 'JSON', space_api_path( :format => :json ), :class => 'btn' %>
</h2>
<dl>
<% @json.each do |key,value| %>
<dt><%= key.humanize.capitalize %>:</dt>
<dd><%= value %></dd>
<% end %>
</dl>