When I navigate to /browse/{node,way,relation}/:id/history there's no
[rails.git] / app / views / browse / way_history.html.erb
index edb967e9ecb00a1548a994eed9986a9a59b2c82f..f61fa6fa142ee7167603fdbc5480713767467f3b 100644 (file)
@@ -2,7 +2,7 @@
 @name = printable_name @way
 @title = t('browse.way_history.way_history') + ' | ' + @name
 %>
-<h2><%= t'browse.way_history.way_history_title', :way_name => h(@name) %></h2>
+<h2><%= t'browse.way_history.way_history_title', :way_name => link_to(h(@name), :action => "way", :id => @way.id) %></h2>
 
 <table width="100%">
   <tr valign="top">