ADD ссылка на новый комментарий в уведомлении

This commit is contained in:
Krivchikov Dmitry 2016-03-04 19:12:02 +03:00
parent 357204fc93
commit eb63d957ed
1 changed files with 3 additions and 2 deletions

View File

@ -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()