Skip to content

Commit

Permalink
Fixed Subscriber’s routes (cachethq#2186)
Browse files Browse the repository at this point in the history
  • Loading branch information
billmn authored and profnandaa committed Oct 16, 2016
1 parent 24c46f1 commit 0f1347b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function handle(SubscriberHasSubscribedEvent $event)
$mail = [
'email' => $event->subscriber->email,
'subject' => 'Confirm your subscription.',
'link' => route('subscribe.verify', ['code' => $event->subscriber->verify_code]),
'link' => cachet_route('subscribe.verify', ['code' => $event->subscriber->verify_code]),
];

$this->mailer->queue([
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Routes/Dashboard/SubscriberRoutes.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function map(Registrar $router)
]);

$router->delete('{subscriber}/delete', [
'as' => 'delete:dashbpard.subscribers.delete',
'as' => 'delete:dashboard.subscribers.delete',
'uses' => 'SubscriberController@deleteSubscriberAction',
]);
});
Expand Down

0 comments on commit 0f1347b

Please sign in to comment.