diff --git a/app/views/maps/show.html.erb b/app/views/maps/show.html.erb index f4a359bf..e9def1b7 100644 --- a/app/views/maps/show.html.erb +++ b/app/views/maps/show.html.erb @@ -1,38 +1,11 @@ <%# # @file # Code to display a map - # TODO: Where is this accessible from? - # Top card is currently hidden to just show beautiful expanses of unadultered - # mappy goodness. + # /maps/:id #%> -
- <% if false %> - - <% end %> + <% if authenticated? %> @@ -74,21 +47,19 @@ <%= render :partial => 'maps/new' %> <% end %> -<% if false %> - <%= form_for @map, :url => realtime_path(@map), :method => "GET", :html => { :id => "MapRealtime"}, remote: true do |form| %> +<%= form_for @map, :url => realtime_path(@map), :method => "GET", :html => { :id => "MapRealtime"}, remote: true do |form| %> <%= form.hidden_field :time, :value => Time.now.to_i %> <%= form.hidden_field :ids, :value => 0 %> - <% end %> <% end %>