Commit 1bac9ee2 authored by pburdette's avatar pburdette Committed by Payton Burdette

Push flag for index only

Push the feature flag for
the index action only.
parent 8d9ccaa9
...@@ -15,9 +15,7 @@ class Projects::JobsController < Projects::ApplicationController ...@@ -15,9 +15,7 @@ class Projects::JobsController < Projects::ApplicationController
before_action :verify_api_request!, only: :terminal_websocket_authorize before_action :verify_api_request!, only: :terminal_websocket_authorize
before_action :authorize_create_proxy_build!, only: :proxy_websocket_authorize before_action :authorize_create_proxy_build!, only: :proxy_websocket_authorize
before_action :verify_proxy_request!, only: :proxy_websocket_authorize before_action :verify_proxy_request!, only: :proxy_websocket_authorize
before_action do before_action :push_jobs_table_vue, only: [:index]
push_frontend_feature_flag(:jobs_table_vue, @project, default_enabled: :yaml)
end
layout 'project' layout 'project'
...@@ -259,4 +257,8 @@ class Projects::JobsController < Projects::ApplicationController ...@@ -259,4 +257,8 @@ class Projects::JobsController < Projects::ApplicationController
::Gitlab::Workhorse.channel_websocket(service) ::Gitlab::Workhorse.channel_websocket(service)
end end
def push_jobs_table_vue
push_frontend_feature_flag(:jobs_table_vue, @project, default_enabled: :yaml)
end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment