diff options
author | Robert Speicher <rspeicher@gmail.com> | 2012-09-17 13:36:13 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2012-09-26 16:32:22 -0400 |
commit | 39c657930625ddc3ac8a921f01ffc83acadce68f (patch) | |
tree | ec6edde522d2fc1a1673d221e1d18c7a14a6e5c2 /config | |
parent | 37f0b600bc9a994136791e6838b3228c56f909b2 (diff) | |
download | gitlab-ce-39c657930625ddc3ac8a921f01ffc83acadce68f.tar.gz |
Add BlameController, remove Refs#blame action
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 10 |
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: /.+/} |