Skip to content

Commit

Permalink
Changing to explicit routes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Baker committed Sep 8, 2016
1 parent 89620a6 commit b7fdbc2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/MailTrackerServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b7fdbc2

Please sign in to comment.