small oversight

This commit is contained in:
flash 2016-12-21 21:15:47 +01:00
parent 2e7f22c7d6
commit f594fe8e50

View file

@ -21,16 +21,6 @@ use stdClass;
*/
class NewsController extends Controller
{
public function __construct()
{
parent::__construct();
// pretend these pages don't exist on testii for now
if (!config('dev.show_errors')) {
throw new HttpRouteNotFoundException;
}
}
/**
* Shows all news posts in any category.
* @return string