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:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-05-09 14:07:10 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-05-10 15:21:01 +0300
commit7d6d3421d64085c05c8b7a17dcf0b70fbdd478b5 (patch)
treef2a553d8dcf55320d5c24b36fa484b7718768bcd /app/models/ci/runner.rb
parent732e98eee7da718d282903844649d02f935fd2be (diff)
Share form editable attributes mf runner via model
Diffstat (limited to 'app/models/ci/runner.rb')
-rw-r--r--app/models/ci/runner.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/ci/runner.rb b/app/models/ci/runner.rb
index add59a08892..d27963e8ec5 100644
--- a/app/models/ci/runner.rb
+++ b/app/models/ci/runner.rb
@@ -23,6 +23,7 @@ module Ci
LAST_CONTACT_TIME = 5.minutes.ago
AVAILABLE_SCOPES = ['specific', 'shared', 'active', 'paused', 'online']
+ FORM_EDITABLE = [:description, :tag_list, :active]
has_many :builds, class_name: 'Ci::Build'
has_many :runner_projects, dependent: :destroy, class_name: 'Ci::RunnerProject'