aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Etienne2014-10-30 10:46:21 +0100
committerMichel Etienne2014-10-30 10:46:21 +0100
commita17cc730ea6d10a705e04fdfffb6279bfe541cfb (patch)
tree1f6f74428dbab72deea45c5776338889a12a026d
parent885a846e94b4845a13d825fd2a1b834d99a00719 (diff)
downloadchouette-core-a17cc730ea6d10a705e04fdfffb6279bfe541cfb.tar.bz2
redirect cancel on organisation when user add failed, Mantis 29663
-rw-r--r--app/views/users/_form.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/_form.html.erb b/app/views/users/_form.html.erb
index 3b19dddf2..ff452c924 100644
--- a/app/views/users/_form.html.erb
+++ b/app/views/users/_form.html.erb
@@ -6,6 +6,6 @@
<%= form.actions do %>
<%= form.action :submit, :as => :button %>
- <%= form.action :cancel, :as => :link %>
+ <%= form.action :cancel, :as => :link , :url => organisation_path %>
<% end %>
<% end %>