Move authentication around.

This commit is contained in:
James Cole
2016-01-08 18:29:47 +01:00
parent c0fad106f0
commit fd9a7080ea
26 changed files with 51 additions and 3 deletions

View File

@@ -16,6 +16,7 @@ use View;
class ReportController extends Controller
{
/** @var ReportHelperInterface */
protected $helper;
@@ -26,6 +27,7 @@ class ReportController extends Controller
*/
public function __construct(ReportHelperInterface $helper)
{
$this->middleware('auth');
parent::__construct();
$this->helper = $helper;