Commit 4e01ef2b authored by Igor Drozdov's avatar Igor Drozdov

Merge branch '349517-enable-auto-complete-on-cadence-iteration-pages' into 'master'

Enable autocomplete on cadence iteration create/edit pages

See merge request gitlab-org/gitlab!78272
parents 60625c65 f0f99fc3
......@@ -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