small oversight
This commit is contained in:
parent
2e7f22c7d6
commit
f594fe8e50
1 changed files with 0 additions and 10 deletions
|
@ -21,16 +21,6 @@ use stdClass;
|
||||||
*/
|
*/
|
||||||
class NewsController extends Controller
|
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.
|
* Shows all news posts in any category.
|
||||||
* @return string
|
* @return string
|
||||||
|
|
Reference in a new issue