Made a cron controller.

This commit is contained in:
James Cole
2015-07-22 19:09:17 +02:00
parent 868fe46932
commit faa128d41e
5 changed files with 65 additions and 37 deletions

View File

@@ -158,7 +158,7 @@ Route::bind(
* Auth\AuthController
*/
Route::get('/register', ['uses' => 'Auth\AuthController@getRegister', 'as' => 'register']);
Route::post ('/hook/sendgrid', ['uses' => 'WebhookController@sendgrid']);
Route::get('/cron/sendgrid', ['uses' => 'CronController@sendgrid']);
Route::controllers(
[