Skip to content

Commit 6b80d23

Browse files
committed
Fixed issue where similiar named teams couldn't be created even if they only matched by prefix.
1 parent f4f9192 commit 6b80d23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/teams/_similar_teams.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
- unless exact_team_exists?(@teams, @team)
1313
.just-create-team
1414
%h3 None of the above are my team
15-
= link_to "Create team #{@team.name}", teams_path(@team, :team => {:name => @team.name}, :selected => false), :remote => true, :method => :post, :class => "create-team"
15+
= link_to "Create team #{@team.name}", teams_path(@team, :team => {:name => @team.name, :selected => false}), :remote => true, :method => :post, :class => "create-team"

0 commit comments

Comments
 (0)