]> git.openstreetmap.org Git - rails.git/commitdiff
Fix erblint warning
authorTom Hughes <tom@compton.nu>
Tue, 19 Dec 2023 12:12:21 +0000 (12:12 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 19 Dec 2023 12:12:21 +0000 (12:12 +0000)
app/views/browse/history.html.erb

index ebf8bcb30ec524c9e44260c1ff52b74109b67720..fd1f5ffc5e1781c0dea5d671fe112cb01049bd19 100644 (file)
@@ -2,7 +2,7 @@
 
 <%= render "sidebar_header", :title => t("browse.#{@type}.history_title_html", :name => printable_name(@feature)) %>
 
-<%= render :partial => @type, :collection => @feature.send("old_#{@type}s").reverse %>
+<%= render :partial => @type, :collection => @feature.send(:"old_#{@type}s").reverse %>
 
 <div class='secondary-actions'>
   <%= link_to(t("browse.download_xml"), :controller => "api/old_#{@type.pluralize}", :action => "history") %>