diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-12-03 23:34:00 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-12-03 23:34:00 +0300 |
commit | 83346192ce3ad5d2e179af1931fca4744135a1ef (patch) | |
tree | 41919826fce033a8d673159afb03db5986a78c8a /app/controllers/projects/clusters_controller.rb | |
parent | 90c09efe7eacdf43e140ee17f810fb3c04dcd6c1 (diff) |
Update specs
Diffstat (limited to 'app/controllers/projects/clusters_controller.rb')
-rw-r--r-- | app/controllers/projects/clusters_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/projects/clusters_controller.rb b/app/controllers/projects/clusters_controller.rb index 3c8cecc6425..639874e6231 100644 --- a/app/controllers/projects/clusters_controller.rb +++ b/app/controllers/projects/clusters_controller.rb @@ -5,6 +5,8 @@ class Projects::ClustersController < Projects::ApplicationController before_action :authorize_update_cluster!, only: [:update] before_action :authorize_admin_cluster!, only: [:destroy] + STATUS_POLLING_INTERVAL = 10_000 + def index if project.cluster redirect_to project_cluster_path(project, project.cluster) |