Commit e8819c48 authored by wortschi's avatar wortschi

VSA: Move show outside private

parent 62dd5e5e
......@@ -20,15 +20,15 @@ class Groups::Analytics::CycleAnalyticsController < Groups::Analytics::Applicati
track_redis_hll_event :show, name: 'g_analytics_valuestream'
private
override :all_cycle_analytics_params
def show
epic_link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: "https://gitlab.com/groups/gitlab-org/-/epics/6046" }
flash[:notice] = s_("ValueStreamAnalytics|Items in Value Stream Analytics are currently filtered by their creation time. There is an %{epic_link_start}epic%{epic_link_end} that will change the Value Stream Analytics date filter to use the end event time for the selected stage.").html_safe % { epic_link_start: epic_link_start, epic_link_end: "</a>".html_safe }
end
private
override :all_cycle_analytics_params
def all_cycle_analytics_params
super.merge({ group: @group, value_stream: @value_stream })
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