diff options
author | Robert Speicher <rspeicher@gmail.com> | 2012-09-17 21:49:57 +0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2012-09-27 00:32:22 +0400 |
commit | 576cec6c67dcc4ee00b8220ca1a45385583e25b2 (patch) | |
tree | 3fc61345a7a2ec716dbed39fd4916a8f2d3f9dc4 /config | |
parent | 39c657930625ddc3ac8a921f01ffc83acadce68f (diff) |
Add BlobController, remove Refs#blob
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 8 |
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 |