Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
32fa68ad666a
Commit
c51d7203
authored
Jan 19, 2017
by
Jose Ivan Vargas
Browse files
Added repository controller and route for the settings namespace
parent
dcbd775988ce
Changes
3
Show whitespace changes
Inline
Side-by-side
app/controllers/projects/settings/repository_controller.rb
0 → 100644
View file @
32fa68ad
module
Projects
module
Settings
class
RepositoryController
<
Projects
::
ApplicationController
def
show
end
end
end
end
app/views/projects/settings/repository/show.html.haml
0 → 100644
View file @
32fa68ad
%h1
Hello World
config/routes/project.rb
View file @
32fa68ad
...
...
@@ -325,6 +325,7 @@
resource
:members
,
only:
[
:show
]
resource
:ci_cd
,
only:
[
:show
],
controller:
'ci_cd'
resource
:integrations
,
only:
[
:show
]
resource
:repository
,
only:
[
:show
],
controller: :repository
end
# Since both wiki and repository routing contains wildcard characters
...
...
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