summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorTimothy Andrew <mail@timothyandrew.net>2016-09-20 18:13:11 +0530
committerTimothy Andrew <mail@timothyandrew.net>2016-09-20 18:13:11 +0530
commit71d4bf721be6cd57ab3480bc5efb11a91d6e1891 (patch)
tree81b567b59729128e38121f4bb7286383945aa99b /config
parent6f194e28e4fd8380432420b2b525b134ddb18a3d (diff)
downloadgitlab-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')
-rw-r--r--config/routes.rb2
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