Skip to content

Commit

Permalink
Improve compatibility with both Redmine 6 & 5
Browse files Browse the repository at this point in the history
  • Loading branch information
nanego committed Dec 6, 2024
1 parent 33f640e commit 8658a3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/redmine_admin_activity/models/issue_template_patch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def journalized_deactivation_template(project)
end
end

class IssueTemplate < ApplicationRecord
class IssueTemplate
prepend RedmineAdminActivity::Models::IssueTemplatePatch

has_many :template_projects, through: :issue_template_projects, source: :project, before_remove: :journalized_deactivation_template, after_add: :journalized_activation_template
Expand Down

0 comments on commit 8658a3b

Please sign in to comment.