Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Andrew <mail@timothyandrew.net>2016-09-20 15:43:11 +0300
committerTimothy Andrew <mail@timothyandrew.net>2016-09-20 15:43:11 +0300
commit71d4bf721be6cd57ab3480bc5efb11a91d6e1891 (patch)
tree81b567b59729128e38121f4bb7286383945aa99b /config/routes.rb
parent6f194e28e4fd8380432420b2b525b134ddb18a3d (diff)
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.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