app/views/faalis/dashboard/resource/update.js.erb in faalis-2.1.1 vs app/views/faalis/dashboard/resource/update.js.erb in faalis-2.2.0.pre.rc1
- old
+ new
@@ -1,3 +1,3 @@
success_message('<%= @_msg || t("faalis.dashboard.edit_success_msg", resource: @resource_title) %>');
-var target = '<%= get_url(@index_route, @resource.id, @engine) %>';
+var target = '<%= get_url(@index_route, nil, @engine) %>';
redirect_to(target);