DEV: Upgrade Rails to 7.1

This commit is contained in:
Loïc Guitaut
2024-05-31 11:07:19 +02:00
committed by Loïc Guitaut
parent 69c99a82dd
commit 081b00391e
42 changed files with 409 additions and 224 deletions

View File

@ -2,7 +2,7 @@
module Chat
class CategoryChannel < Channel
alias_attribute :category, :chatable
alias_method :category, :chatable
delegate :read_restricted?, to: :category
delegate :url, to: :chatable, prefix: true

View File

@ -2,7 +2,7 @@
module Chat
class DirectMessageChannel < Channel
alias_attribute :direct_message, :chatable
alias_method :direct_message, :chatable
def direct_message_channel?
true