mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 00:52:13 +08:00
DEV: Upgrade Rails to version 7.1
--------- Co-authored-by: Jarek Radosz <jradosz@gmail.com>
This commit is contained in:

committed by
Loïc Guitaut

parent
706e074e6c
commit
ce00f83173
@ -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