diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-08-15 10:34:12 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-08-15 10:34:12 +0400 |
commit | 7120af725148aae5092c0870c1da34ca5652f60d (patch) | |
tree | 42cd4c7f92d19b9e77bc86d6cae627d326c6dce7 /config | |
parent | 45da59daab5878eb20adc402fbd9c9f44407ed75 (diff) | |
parent | 4e4080016604e2c7ca9a5e75d6dd37d34b99cb09 (diff) |
Merge pull request #7281 from skv-headless/diff-unfold
unfold commits
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 261fbb50e38..ce66ea99951 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -193,7 +193,9 @@ Gitlab::Application.routes.draw do end scope module: :projects do - resources :blob, only: [:show, :destroy], constraints: {id: /.+/} + resources :blob, only: [:show, :destroy], constraints: { id: /.+/ } do + get :diff, on: :member + end resources :raw, only: [:show], constraints: {id: /.+/} resources :tree, only: [:show], constraints: {id: /.+/, format: /(html|js)/ } resources :edit_tree, only: [:show, :update], constraints: { id: /.+/ }, path: 'edit' do |