From b7fdbc2b8add37b71169a4b0b5eecebb9d0e27be Mon Sep 17 00:00:00 2001 From: Jon Baker Date: Thu, 8 Sep 2016 08:29:09 -0500 Subject: [PATCH] Changing to explicit routes --- src/MailTrackerServiceProvider.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/MailTrackerServiceProvider.php b/src/MailTrackerServiceProvider.php index e53fead..42e31ad 100644 --- a/src/MailTrackerServiceProvider.php +++ b/src/MailTrackerServiceProvider.php @@ -45,7 +45,8 @@ public function boot() if (!$this->isLumen()) { Route::group($config, function() { - Route::controller('/', 'MailTrackerController'); + Route::get('t/{hash}', 'MailTrackerController@getT'); + Route::get('l/{url}/{hash}', 'MailTrackerController@getL'); }); } else { $app = $this->app;