Skip to content

Commit

Permalink
Fix Routes
Browse files Browse the repository at this point in the history
  • Loading branch information
Insa committed Dec 4, 2017
1 parent 7d2f411 commit 77105e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Http/Controllers/StaticsController.php
Expand Up @@ -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');
}
Expand Down

0 comments on commit 77105e0

Please sign in to comment.