Added repository controller and route for the settings namespace

This commit is contained in:
Jose Ivan Vargas 2017-01-19 10:48:53 -06:00
parent 30cea142ab
commit c51d720366
3 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,9 @@
module Projects
module Settings
class RepositoryController < Projects::ApplicationController
def show
end
end
end
end

View File

@ -0,0 +1,2 @@
%h1
Hello World

View File

@ -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