ADD ссылка на новый комментарий в уведомлении
This commit is contained in:
parent
357204fc93
commit
eb63d957ed
|
|
@ -67,9 +67,10 @@ class CommentsController extends Controller
|
||||||
}
|
}
|
||||||
|
|
||||||
// SMS::send('Новый комментарий от '.App::$user->nick, '79046106141');
|
// SMS::send('Новый комментарий от '.App::$user->nick, '79046106141');
|
||||||
Alarmer::send('Новый комментарий от '.App::$user->nick);
|
$url = '/' . $_POST['parentType'] . '/' . $_POST['parentId'] . '#comment' . $comment->id;
|
||||||
|
Alarmer::send('Новый комментарий от ' . App::$user->nick . ' Прочитать: https://wikipoints.ru' . $url);
|
||||||
|
|
||||||
App::redirect('/' . $_POST['parentType'] . '/' . $_POST['parentId'] . '#comment' . $comment->id);
|
App::redirect($url);
|
||||||
}
|
}
|
||||||
|
|
||||||
static function actionDel()
|
static function actionDel()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue