Fix form url and routes path

This commit is contained in:
Andrey Kumanyaev 2012-12-26 20:31:18 +04:00
parent 98044f0f14
commit c8bf5905bf
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
= form_for @team_member, as: :team_member, url: team_members_group_path(@group, @team_member) do |f| = form_for @team_member, as: :team_member, url: team_members_group_path(@group) do |f|
%fieldset %fieldset
%legend= "New Team member(s) for projects in #{@group.name}" %legend= "New Team member(s) for projects in #{@group.name}"

View file

@ -103,7 +103,7 @@ Gitlab::Application.routes.draw do
get :merge_requests get :merge_requests
get :search get :search
get :people get :people
put :team_members post :team_members
end end
end end