Add manage link to email notifications

This commit is contained in:
Joseph Cohen
2016-02-20 12:23:06 -06:00
committed by Graham Campbell
parent af0e578a44
commit e51504b3ec
12 changed files with 56 additions and 35 deletions

View File

@@ -131,11 +131,13 @@ class SubscribeController extends Controller
/**
* Shows the subscription manager page.
*
* @param string|null $code
*
* @return \Illuminate\View\View
*/
public function showManage()
public function showManage($code = null)
{
if (!($code = Binput::get('subscriber'))) {
if ($code === null) {
throw new NotFoundHttpException();
}