Commit b23f32a7 authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

Fix configure route

parent f0889bdf
= form_for(:create, method: :post, url: configure_namespace_project_mattermost_path(@project.namespace, @project, )) do |f| = form_for(:create, method: :post, url: configure_namespace_project_mattermost_index_path(@project.namespace, @project)) do |f|
= "Team ID" = "Team ID"
= f.text_field(:team_id) = f.text_field(:team_id)
= f.submit 'Configure', class: 'btn btn-save' = f.submit 'Configure', class: 'btn btn-save'
...@@ -65,7 +65,7 @@ constraints(ProjectUrlConstrainer.new) do ...@@ -65,7 +65,7 @@ constraints(ProjectUrlConstrainer.new) do
end end
resources :mattermost, only: [:new] do resources :mattermost, only: [:new] do
member do collection do
post :configure post :configure
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment