Moving spaceapi endpoint and OAC door status checking here

This commit is contained in:
2013-12-01 19:32:08 -07:00
parent 9dc8645c32
commit d2434be109
7 changed files with 121 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
<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>