Commit 01db8e42 authored by Fabio Pitino's avatar Fabio Pitino Committed by Kamil Trzciński

Scope feature flag `job_log_json` to project

parent 8171af01
...@@ -12,7 +12,7 @@ class Projects::JobsController < Projects::ApplicationController ...@@ -12,7 +12,7 @@ class Projects::JobsController < Projects::ApplicationController
before_action :authorize_use_build_terminal!, only: [:terminal, :terminal_websocket_authorize] before_action :authorize_use_build_terminal!, only: [:terminal, :terminal_websocket_authorize]
before_action :verify_api_request!, only: :terminal_websocket_authorize before_action :verify_api_request!, only: :terminal_websocket_authorize
before_action only: [:show] do before_action only: [:show] do
push_frontend_feature_flag(:job_log_json) push_frontend_feature_flag(:job_log_json, project)
end end
layout 'project' layout 'project'
......
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