summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb10
1 files changed, 1 insertions, 9 deletions
diff --git a/config/routes.rb b/config/routes.rb
index d1ed8749d95..1aa10c5d1d6 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -136,14 +136,6 @@ Gitlab::Application.routes.draw do
id: /[a-zA-Z.0-9\/_\-]+/,
path: /.*/
}
-
- # blame
- get "blame/:path" => "refs#blame",
- as: :blame_file,
- constraints: {
- id: /[a-zA-Z.0-9\/_\-]+/,
- path: /.*/
- }
end
end
@@ -204,7 +196,7 @@ Gitlab::Application.routes.draw do
end
# XXX: WIP
- # resources :blame, only: [:show], constraints: {id: /.+/}
+ resources :blame, only: [:show], constraints: {id: /.+/}
# resources :blob, only: [:show], constraints: {id: /.+/}
# resources :raw, only: [:show], constraints: {id: /.+/}
resources :tree, only: [:show], constraints: {id: /.+/}