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:
authorShinya Maeda <shinya@gitlab.com>2018-05-08 08:57:41 +0300
committerShinya Maeda <shinya@gitlab.com>2018-05-08 08:57:41 +0300
commit0af2ab18fa7914380150c0403289a9d99ea45ded (patch)
treeab8657499ac7d7984ff0d193de61ffdd21a6923c /app/models/deployment.rb
parent632b87a80e4e349ffc5fde585e661f51d6bec7e4 (diff)
Decouple to_params from AtomicInternalId concern
Diffstat (limited to 'app/models/deployment.rb')
-rw-r--r--app/models/deployment.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/deployment.rb b/app/models/deployment.rb
index 254764eefde..dac97676348 100644
--- a/app/models/deployment.rb
+++ b/app/models/deployment.rb
@@ -1,5 +1,6 @@
class Deployment < ActiveRecord::Base
include AtomicInternalId
+ include IIDRoutes
belongs_to :project, required: true
belongs_to :environment, required: true