diff options
author | Timothy Andrew <mail@timothyandrew.net> | 2016-09-20 18:13:11 +0530 |
---|---|---|
committer | Timothy Andrew <mail@timothyandrew.net> | 2016-09-20 18:13:11 +0530 |
commit | 71d4bf721be6cd57ab3480bc5efb11a91d6e1891 (patch) | |
tree | 81b567b59729128e38121f4bb7286383945aa99b /config/routes.rb | |
parent | 6f194e28e4fd8380432420b2b525b134ddb18a3d (diff) | |
download | gitlab-ce-71d4bf721be6cd57ab3480bc5efb11a91d6e1891.tar.gz |
Implement (some) comments from @DouweM's review.
- Move things common to `Issue` and `MergeRequest` into `Issuable`
- Move more database-specific functions into `Gitlab::Database`
- Indentation changes and other minor refactorings.
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 33b070188dc..c4eee59e7aa 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -780,7 +780,7 @@ Rails.application.routes.draw do resources :environments - resource :cycle_analytics + resource :cycle_analytics, only: [:show] resources :builds, only: [:index, :show], constraints: { id: /\d+/ } do collection do |