Commit dd73ae20 authored by Klaus Stein's avatar Klaus Stein
Browse files

trying to add them to maps (work in progress)

parent 84f8d4da
......@@ -44,8 +44,13 @@
</figcaption>
</figure>
<% end %>
</div>
</div>
<% if @map.comments.any? %>
<details>
<summary></summary>
</details>
<% end %>
<table class="data">
<% @map.itemdates.each do |itemdate| %>
<tr><th>Date:</th><td><%= itemdate.edtfdate.edtf %> (<%= itemdate.description %>)</td></tr>
......
......@@ -13,7 +13,10 @@ Rails.application.routes.draw do
resources :categories
resources :dfg_maps
resources :image_maps
resources :maps
resources :maps do
resources :comments
end
resources :itemdates
root 'overview#index'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment