The new L5.5 route->view method means we can get rid of the static routes controller and still cache our routes file

This commit is contained in:
Jonny Barnes 2017-09-07 15:40:45 +01:00
parent b73ad5f6af
commit 2c9d43a6b8
2 changed files with 2 additions and 18 deletions

View file

@ -1,16 +0,0 @@
<?php
namespace App\Http\Controllers;
class StaticRoutesController extends Controller
{
public function projects()
{
return view('projects');
}
public function colophon()
{
return view('colophon');
}
}