Skip to content
Snippets Groups Projects
Commit 4be12be6 authored by Andrew8xx8's avatar Andrew8xx8
Browse files

Routes fixed

parent e90aebe2
No related merge requests found
Loading
Loading
@@ -38,6 +38,16 @@ Gitlab::Application.routes.draw do
get 'help/web_hooks' => 'help#web_hooks'
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
#
Loading
Loading
@@ -100,14 +110,6 @@ Gitlab::Application.routes.draw do
 
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
#
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment