Skip to content

Commit

Permalink
reply error inform
Browse files Browse the repository at this point in the history
  • Loading branch information
summerblue committed Nov 10, 2017
1 parent 675992c commit d70e5cd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://localhost
APP_URL=http://larabbs.app

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=homestead
DB_DATABASE=larabbs
DB_USERNAME=homestead
DB_PASSWORD=secret

Expand Down
3 changes: 2 additions & 1 deletion app/Notifications/TopicReplied.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ public function __construct(Reply $reply)
public function via($notifiable)
{
// 开启通知的频道
return ['database', 'mail'];
return ['database'];
// return ['database', 'mail'];
}

public function toDatabase($notifiable)
Expand Down
1 change: 1 addition & 0 deletions resources/views/topics/_reply_box.blade.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@include('common.error')
<div class="reply-box">
<form action="{{ route('replies.store') }}" method="POST" accept-charset="UTF-8">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
Expand Down

0 comments on commit d70e5cd

Please sign in to comment.