]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_common_details.html.erb
Add links to element versions from version headings
[rails.git] / app / views / browse / _common_details.html.erb
index b28e72c752e652e7f4ebfe1a528b9be1874c6741..fa8eeb3a5fef1da55fa28918c0678a637219b594 100644 (file)
@@ -1,6 +1,6 @@
 <h4>
   <%= t "browse.version" %>
-  #<%= common_details.version %>
+  #<%= link_to common_details.version, :controller => "old_#{@type.pluralize}", :action => :show, :version => common_details.version %>
 </h4>
 
 <p class="fst-italic">