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:49:57 +0400
committerRobert Speicher <rspeicher@gmail.com>2012-09-27 00:32:22 +0400
commit576cec6c67dcc4ee00b8220ca1a45385583e25b2 (patch)
tree3fc61345a7a2ec716dbed39fd4916a8f2d3f9dc4 /config
parent39c657930625ddc3ac8a921f01ffc83acadce68f (diff)
Add BlobController, remove Refs#blob
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 1aa10c5d1d6..af7b9bd4533 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -122,12 +122,6 @@ Gitlab::Application.routes.draw do
end
member do
- get "blob",
- constraints: {
- id: /[a-zA-Z.0-9\/_\-]+/,
- path: /.*/
- }
-
# tree viewer logs
get "logs_tree", constraints: { id: /[a-zA-Z.\/0-9_\-]+/ }
get "logs_tree/:path" => "refs#logs_tree",
@@ -197,7 +191,7 @@ Gitlab::Application.routes.draw do
# XXX: WIP
resources :blame, only: [:show], constraints: {id: /.+/}
- # resources :blob, only: [:show], constraints: {id: /.+/}
+ resources :blob, only: [:show], constraints: {id: /.+/}
# resources :raw, only: [:show], constraints: {id: /.+/}
resources :tree, only: [:show], constraints: {id: /.+/}
end