]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/relation_history.html.erb
When I navigate to /browse/{node,way,relation}/:id/history there's no
[rails.git] / app / views / browse / relation_history.html.erb
index 45f3d14004c8daa508b1fc595021943ba20167dd..649638a76c1200732324d0f365406ed50e5b06f5 100644 (file)
@@ -2,7 +2,7 @@
 @name = printable_name @relation
 @title = t('browse.relation_history.relation_history') + ' | ' + @name
 %>
 @name = printable_name @relation
 @title = t('browse.relation_history.relation_history') + ' | ' + @name
 %>
-<h2><%= t'browse.relation_history.relation_history_title', :relation_name => h(@name) %></h2>
+<h2><%= t'browse.relation_history.relation_history_title', :relation_name => link_to(h(@name), :action => "relation", :id => @relation.id) %></h2>
 
 <table width="100%">
   <tr valign="top">
 
 <table width="100%">
   <tr valign="top">