mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
add post-subscribe page
This commit is contained in:
parent
b41f46d98b
commit
b1cd52307c
2 changed files with 6 additions and 0 deletions
|
@ -99,6 +99,7 @@ class Controller
|
|||
$router->post('/log-upload', 'OpsActions::executeLogUpload');
|
||||
|
||||
$router->any('/list/subscribe', 'MailActions::executeSubscribe');
|
||||
$router->any('/list/subscribed', 'MailActions::executeSubscribed');
|
||||
$router->get('/list/confirm/{hash}', 'MailActions::executeConfirm');
|
||||
|
||||
$router->any('/dmca', 'ReportActions::executeDmca');
|
||||
|
|
|
@ -50,6 +50,11 @@ class MailActions extends Actions
|
|||
return ['mail/subscribe', ['confirmSuccess' => true, 'learnFooter' => true]];
|
||||
}
|
||||
|
||||
public static function executeSubscribed()
|
||||
{
|
||||
return ['mail/subscribe', ['confirmSuccess' => true, 'learnFooter' => true]];
|
||||
}
|
||||
|
||||
|
||||
|
||||
public static function prepareSubscribeFormPartial(array $vars)
|
||||
|
|
Loading…
Add table
Reference in a new issue