Routes fixed
This commit is contained in:
parent
e90aebe259
commit
4be12be62a
|
@ -38,6 +38,16 @@ Gitlab::Application.routes.draw do
|
||||||
get 'help/web_hooks' => 'help#web_hooks'
|
get 'help/web_hooks' => 'help#web_hooks'
|
||||||
get 'help/workflow' => 'help#workflow'
|
get 'help/workflow' => 'help#workflow'
|
||||||
|
|
||||||
|
#
|
||||||
|
# Global snippets
|
||||||
|
#
|
||||||
|
resources :snippets do
|
||||||
|
member do
|
||||||
|
get "raw"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
match "/s/:username" => "snippets#user_index", as: :user_snippets, constraints: { username: /.*/ }
|
||||||
|
|
||||||
#
|
#
|
||||||
# Public namespace
|
# Public namespace
|
||||||
#
|
#
|
||||||
|
@ -100,14 +110,6 @@ Gitlab::Application.routes.draw do
|
||||||
|
|
||||||
get "errors/githost"
|
get "errors/githost"
|
||||||
|
|
||||||
resources :snippets do
|
|
||||||
member do
|
|
||||||
get "raw"
|
|
||||||
get "my"
|
|
||||||
end
|
|
||||||
end
|
|
||||||
match "/s/:username" => "snippets#user_index", as: :user_snippets, constraints: { username: /.*/ }
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Profile Area
|
# Profile Area
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue