Fix crash on team update
This commit is contained in:
parent
e6002bdaff
commit
0965aeb2ea
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
%h3.page_title= "Edit Team #{@team.name}"
|
%h3.page_title= "Edit Team #{@team.name}"
|
||||||
%hr
|
%hr
|
||||||
= form_for @team, url: teams_path do |f|
|
= form_for @team, url: team_path(@team) do |f|
|
||||||
- if @team.errors.any?
|
- if @team.errors.any?
|
||||||
.alert.alert-error
|
.alert.alert-error
|
||||||
%span= @team.errors.full_messages.first
|
%span= @team.errors.full_messages.first
|
||||||
|
|
Loading…
Reference in a new issue