Skip to content

Commit

Permalink
Fix problems for redmine master
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermeindl committed Jan 31, 2024
1 parent 4e84ec3 commit d25ec1c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/models/hedgedoc_author.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

class HedgedocAuthor < ActiveRecord::Base
class HedgedocAuthor < Rails.version < '7.1' ? ActiveRecord::Base : ApplicationRecord
include HedgedocDatabase
self.table_name = 'Authors'

Expand Down
2 changes: 1 addition & 1 deletion app/models/hedgedoc_note.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

class HedgedocNote < ActiveRecord::Base
class HedgedocNote < Rails.version < '7.1' ? ActiveRecord::Base : ApplicationRecord
include HedgedocDatabase
self.table_name = 'Notes'

Expand Down
2 changes: 1 addition & 1 deletion app/models/hedgedoc_user.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

class HedgedocUser < ActiveRecord::Base
class HedgedocUser < Rails.version < '7.1' ? ActiveRecord::Base : ApplicationRecord
include HedgedocDatabase
self.table_name = 'Users'

Expand Down

0 comments on commit d25ec1c

Please sign in to comment.