Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-01 21:07:54 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-01 21:07:54 +0400
commit0965aeb2ea3a7f89b0a74b746ec9aee063b0713c (patch)
tree9c39574575471b5d1d7be7c47c740c9a11afb3c1 /app
parente6002bdaffc819ea3b743955315cf50eb804dbdb (diff)
Fix crash on team update
Diffstat (limited to 'app')
-rw-r--r--app/views/teams/edit.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/teams/edit.html.haml b/app/views/teams/edit.html.haml
index e0962f2b05b..3435583600d 100644
--- a/app/views/teams/edit.html.haml
+++ b/app/views/teams/edit.html.haml
@@ -1,6 +1,6 @@
%h3.page_title= "Edit Team #{@team.name}"
%hr
-= form_for @team, url: teams_path do |f|
+= form_for @team, url: team_path(@team) do |f|
- if @team.errors.any?
.alert.alert-error
%span= @team.errors.full_messages.first