From: Dmitriy Zaporozhets Date: Fri, 1 Feb 2013 17:07:54 +0000 (+0200) Subject: Fix crash on team update X-Git-Tag: v4.2.0~12 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=0965aeb2ea3a7f89b0a74b746ec9aee063b0713c;p=wvm%2Fgitlab.git Fix crash on team update --- diff --git a/app/views/teams/edit.html.haml b/app/views/teams/edit.html.haml index e0962f2b0..343558360 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