diff options
author | brantje <brantje@gmail.com> | 2016-10-07 22:27:57 +0300 |
---|---|---|
committer | brantje <brantje@gmail.com> | 2016-10-07 22:27:57 +0300 |
commit | 62aa51dfe960172b111e95f03e1b2667b506b463 (patch) | |
tree | 16443c1807de41fbfd8d7b88d6758c97f65e27a9 /controller | |
parent | 2c90899e6396e0a2c8138bc8b9df49d803f3eec0 (diff) |
Create tests for page controller
Diffstat (limited to 'controller')
-rw-r--r-- | controller/pagecontroller.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/controller/pagecontroller.php b/controller/pagecontroller.php index f00f795b..47d35a41 100644 --- a/controller/pagecontroller.php +++ b/controller/pagecontroller.php @@ -47,7 +47,7 @@ class PageController extends Controller { * @NoCSRFRequired */ public function bookmarklet($url='',$title='') { - $params = array('url' => $url, 'label' => $title); + $params = array('url' => $url, 'title' => $title); return new TemplateResponse('passman', 'bookmarklet', $params); } @@ -56,7 +56,7 @@ class PageController extends Controller { * @NoCSRFRequired * @PublicPage */ - public function publicSharePage($shareKey) { + public function publicSharePage() { return new TemplateResponse('passman', 'public_share'); } |