Skip to content

Commit

Permalink
use AdditionalsApplicationRecord for redmine 5.x and 6 support as tem…
Browse files Browse the repository at this point in the history
…p solution #10790
  • Loading branch information
alexandermeindl committed Jun 12, 2024
1 parent 2e9a8ce commit a44e006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/issue_view_column.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

class IssueViewColumn < Rails.version < '7.1' ? ActiveRecord::Base : ApplicationRecord
class IssueViewColumn < AdditionalsApplicationRecord
belongs_to :project

scope :sorted, -> { order :position }
Expand Down

0 comments on commit a44e006

Please sign in to comment.