@@ -115,7 +115,6 @@ class DashboardController extends Controller
|
||||
->where('user_id', Auth::user()->getAuthIdentifier())
|
||||
->firstOrFail();
|
||||
/** @var Post $today_post */
|
||||
$today_post->deleteTags();
|
||||
$today_post->delete();
|
||||
return Redirect::to('home')->withSuccess('Great! Your today\'s post is now deleted. You can make a new one!');
|
||||
} catch (\ErrorException $e) {
|
||||
|
Reference in New Issue
Block a user