Fix crash on team update

This commit is contained in:
Dmitriy Zaporozhets 2013-02-01 19:07:54 +02:00
parent e6002bdaff
commit 0965aeb2ea

View file

@ -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