Make remove marker label parameter optional

We were passing `nil` in some calls, which was confusing.

Since now we've got two optional parameters, we're using named
parameters.
This commit is contained in:
Javi Martín
2023-03-07 18:10:33 +01:00
parent aa5f5235de
commit e00aa807b9
6 changed files with 6 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
<div class="map inline">
<h2><%= t("budgets.index.map") %></h2>
<%= render_map(nil, "budgets", nil, coordinates) %>
<%= render_map(nil, "budgets", investments_coordinates: coordinates) %>
</div>