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:
authorFilipa Lacerda <filipa@gitlab.com>2017-06-12 12:20:19 +0300
committerPhil Hughes <me@iamphill.com>2017-06-12 12:20:19 +0300
commit452202e36d3e20755b099a718a92d3f7b80fabb8 (patch)
tree5cc8bd9c5d810a645f44f515c4310731fa01785f /app/models/commit_status.rb
parentd25f6fcf629bd773ccac49a799393479c48f4673 (diff)
Improve Job detail view to make it refreshed in real-time instead of reloading
Diffstat (limited to 'app/models/commit_status.rb')
-rw-r--r--app/models/commit_status.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/models/commit_status.rb b/app/models/commit_status.rb
index 55c16f7e1fd..36c87eb0d0c 100644
--- a/app/models/commit_status.rb
+++ b/app/models/commit_status.rb
@@ -132,6 +132,11 @@ class CommitStatus < ActiveRecord::Base
false
end
+ # To be overriden when inherrited from
+ def cancelable?
+ false
+ end
+
def stuck?
false
end