mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 02:14:58 +08:00
DEV: Upgrade Rails to 7.1
This commit is contained in:

committed by
Loïc Guitaut

parent
69c99a82dd
commit
081b00391e
@ -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
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
module Chat
|
||||
class DirectMessageChannel < Channel
|
||||
alias_attribute :direct_message, :chatable
|
||||
alias_method :direct_message, :chatable
|
||||
|
||||
def direct_message_channel?
|
||||
true
|
||||
|
Reference in New Issue
Block a user