From c03dd921e2a98254605038c6c9e63edc7c50b1d2 Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg Date: Thu, 10 Mar 2016 21:25:58 -0500 Subject: [PATCH] add lbry deck link --- controller/Controller.class.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/controller/Controller.class.php b/controller/Controller.class.php index 47be2b93..c0086f2f 100644 --- a/controller/Controller.class.php +++ b/controller/Controller.class.php @@ -26,13 +26,13 @@ class Controller echo View::render('layout/basic', [ 'content' => View::render($viewTemplate, $viewParameters + ['fullPage' => true]) ]); - } + } catch (StopException $e) { } } - + public static function execute($uri) { switch($uri) @@ -47,6 +47,8 @@ class Controller return OpsActions::executePostCommit(); case '/list-subscribe': return MailActions::executeListSubscribe(); + case '/LBRY-deck.pdf': + return static::redirect('https://s3.amazonaws.com/files.lbry.io/LBRY-deck.pdf', 307); case '/dl/lbry_setup.sh': return static::redirect('https://raw.githubusercontent.com/lbryio/lbry-setup/master/lbry_setup.sh', 307); default: @@ -82,4 +84,4 @@ class Controller throw new StopException('Time to redirect'); } -} \ No newline at end of file +}