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

15 lines
334 B
Plaintext
Raw Normal View History

2013-12-30 04:56:47 +00:00
<% content_for :header do %>
<h2>Space Status API
<%= link_to 'JSON', space_api_path( :format => :json ), :class => 'btn' %>
2013-12-30 04:56:47 +00:00
<%= link_to 'Door Access', space_api_access_path, :class => 'btn' %>
</h2>
2013-12-30 04:56:47 +00:00
<% end %>
<dl>
<% @json.each do |key,value| %>
<dt><%= key.humanize.capitalize %>:</dt>
<dd><%= value %></dd>
<% end %>
</dl>