forked from GNUsocial/gnu-social
[COMPONENTS][Conversation] Conversation entity moved to respective component, URI column added
Route for conversation added and Conversation Controller created. [CONTROLLER][Conversation] Created ConversationShow function, will be used to render the conversation route page [ENTITY][Note] Conversation id column added, this way a Note can have a direct relation with its respective conversation.
This commit is contained in:
@@ -132,6 +132,7 @@ class Conversation extends Component
|
||||
{
|
||||
$r->connect('reply_add', '/object/note/{id<\d+>}/reply', [ReplyController::class, 'replyAddNote']);
|
||||
$r->connect('replies', '/@{nickname<' . Nickname::DISPLAY_FMT . '>}/replies', [ReplyController::class, 'replies']);
|
||||
$r->connect('conversation', '/conversation/{id<\d+>}', [ReplyController::class, 'conversation']);
|
||||
|
||||
return Event::next;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user