Skip to content
Permalink
Browse files

Fix Routes

  • Loading branch information...
Insax committed Dec 4, 2017
1 parent 7d2f411 commit 77105e0c3157315b529aab176a25c2dfe301f123
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/Http/Controllers/StaticsController.php
@@ -18,9 +18,9 @@ public function index()
public function error(Request $request)
{
if ($request->input('type') === 'vid') {
return view('error.errorVid');
return view('errors.errorVid');
} elseif ($request->input('type') === 'yt') {
return view('error.errorYT');
return view('errors.errorYT');
} else {
Redirect::route('index');
}

0 comments on commit 77105e0

Please sign in to comment.
You can’t perform that action at this time.