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
before_action :verify_api_request!, only: :terminal_websocket_authorize
before_action :authorize_create_proxy_build!, only: :proxy_websocket_authorize
before_action :verify_proxy_request!, only: :proxy_websocket_authorize
before_action do
push_frontend_feature_flag(:jobs_table_vue, @project, default_enabled: :yaml)
end
before_action :push_jobs_table_vue, only: [:index]
layout 'project'
......@@ -259,4 +257,8 @@ class Projects::JobsController < Projects::ApplicationController
::Gitlab::Workhorse.channel_websocket(service)
end
def push_jobs_table_vue
push_frontend_feature_flag(:jobs_table_vue, @project, default_enabled: :yaml)
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