|
@@ -40,7 +40,7 @@
|
|
|
<% end %>
|
|
|
|
|
|
<% if @bind_vars.any? %>
|
|
|
- <form id="bind" method="get" action="<%= url_for(params) %>" class="form-inline" style="margin-bottom: 10px;">
|
|
|
+ <form id="bind" method="get" action="<%= dashboard_path(@dashboard, variable_params) %>" class="form-inline" style="margin-bottom: 10px;">
|
|
|
<% date_vars = ["start_time", "end_time"] %>
|
|
|
<% if (date_vars - @bind_vars).empty? %>
|
|
|
<% @bind_vars = @bind_vars - date_vars %>
|