Commit e4ef2e78 by Tấn Trần Thanh

add required xhr request

parent afb3751b
Pipeline #1622 canceled with stages
in 0 seconds
class WorkflowReportController < ApplicationController class WorkflowReportController < ApplicationController
include WorkflowReport include WorkflowReport
before_action :authorize_global before_action :authorize_global
before_action :require_xhr_request, only: %i[export show_daily_report] before_action :require_xhr_request, only: %i[export show_daily_report export_time_entry]
def index def index
@team_options = $workflow_report_config['teams'].map { |team| team.keys() } @team_options = $workflow_report_config['teams'].map { |team| team.keys() }
......
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