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

@@ -10,6 +10,11 @@ use Input;
*/
class SearchController extends Controller
{
public function __construct()
{
$this->middleware('auth');
}
/**
* Results always come in the form of an array [results, count, fullCount]
*