Fix configure route

This commit is contained in:
Luke "Jared" Bennett 2016-12-17 18:28:36 +00:00
parent f0889bdfa3
commit b23f32a735
No known key found for this signature in database
GPG Key ID: 402ED51FB5D306C2
2 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,4 @@
= 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"
= f.text_field(:team_id)
= f.submit 'Configure', class: 'btn btn-save'

View File

@ -65,7 +65,7 @@ constraints(ProjectUrlConstrainer.new) do
end
resources :mattermost, only: [:new] do
member do
collection do
post :configure
end
end