Commit 0965aeb2ea3a7f89b0a74b746ec9aee063b0713c

Authored by Dmitriy Zaporozhets
1 parent e6002bda

Fix crash on team update

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/teams/edit.html.haml
1 %h3.page_title= "Edit Team #{@team.name}" 1 %h3.page_title= "Edit Team #{@team.name}"
2 %hr 2 %hr
3 -= form_for @team, url: teams_path do |f| 3 += form_for @team, url: team_path(@team) do |f|
4 - if @team.errors.any? 4 - if @team.errors.any?
5 .alert.alert-error 5 .alert.alert-error
6 %span= @team.errors.full_messages.first 6 %span= @team.errors.full_messages.first