Commit f0f99fc3 authored by Andrew Smith's avatar Andrew Smith

Enable autocomplete on cadence iteration create/edit pages

Changelog: added
EE: true
parent 0dc65764
......@@ -6,6 +6,7 @@ module IterationCadencesActions
included do
before_action :check_cadences_available!
before_action :authorize_show_cadence!, only: [:index]
before_action :set_noteable_type, only: [:index]
feature_category :team_planning
end
......@@ -21,4 +22,8 @@ module IterationCadencesActions
def authorize_show_cadence!
render_404 unless can?(current_user, :read_iteration_cadence, group)
end
def set_noteable_type
@noteable_type = Iteration # rubocop:disable Gitlab/ModuleWithInstanceVariables
end
end
- @gfm_form = true
- page_title s_('Iterations|Iteration cadences')
.js-iteration-cadence-app{ data: { full_path: @group.full_path,
......
- @gfm_form = true
- page_title s_('Iterations|Iteration cadences')
.js-iteration-cadence-app{ data: { full_path: @project.full_path,
......
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