summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/controllers/projects/settings/repository_controller.rb9
-rw-r--r--app/views/projects/settings/repository/show.html.haml2
-rw-r--r--config/routes/project.rb1
3 files changed, 12 insertions, 0 deletions
diff --git a/app/controllers/projects/settings/repository_controller.rb b/app/controllers/projects/settings/repository_controller.rb
new file mode 100644
index 00000000000..1c2eab682e0
--- /dev/null
+++ b/app/controllers/projects/settings/repository_controller.rb
@@ -0,0 +1,9 @@
+module Projects
+ module Settings
+ class RepositoryController < Projects::ApplicationController
+ def show
+
+ end
+ end
+ end
+end
diff --git a/app/views/projects/settings/repository/show.html.haml b/app/views/projects/settings/repository/show.html.haml
new file mode 100644
index 00000000000..428a6f4b2a0
--- /dev/null
+++ b/app/views/projects/settings/repository/show.html.haml
@@ -0,0 +1,2 @@
+%h1
+ Hello World
diff --git a/config/routes/project.rb b/config/routes/project.rb
index 7dc7963ab88..c56c5e14384 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -325,6 +325,7 @@ constraints(ProjectUrlConstrainer.new) do
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