Skip to content
Snippets Groups Projects
Commit 4d6e1a6b authored by George Koltsov's avatar George Koltsov
Browse files

Create project_feature in after_create_commit instead of after_create

parent 601d0f5d
No related merge requests found
......@@ -98,7 +98,7 @@ class Project < ApplicationRecord
after_save :create_import_state, if: ->(project) { project.import? && project.import_state.nil? }
after_create :create_project_feature, unless: :project_feature
after_create_commit :create_project_feature, unless: :project_feature
after_create :create_ci_cd_settings,
unless: :ci_cd_settings,
......
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