Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2012-09-17 21:36:13 +0400
committerRobert Speicher <rspeicher@gmail.com>2012-09-27 00:32:22 +0400
commit39c657930625ddc3ac8a921f01ffc83acadce68f (patch)
treeec6edde522d2fc1a1673d221e1d18c7a14a6e5c2 /config
parent37f0b600bc9a994136791e6838b3228c56f909b2 (diff)
Add BlameController, remove Refs#blame action
Diffstat (limited to 'config')
-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: /.+/}