Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
b23f32a7
Commit
b23f32a7
authored
Dec 17, 2016
by
Luke "Jared" Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix configure route
parent
f0889bdf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
app/views/projects/mattermost/new.html.haml
app/views/projects/mattermost/new.html.haml
+1
-2
config/routes/project.rb
config/routes/project.rb
+1
-1
No files found.
app/views/projects/mattermost/new.html.haml
View file @
b23f32a7
=
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'
config/routes/project.rb
View file @
b23f32a7
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment