Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/passman.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrantje <brantje@gmail.com>2016-10-07 22:27:57 +0300
committerbrantje <brantje@gmail.com>2016-10-07 22:27:57 +0300
commit62aa51dfe960172b111e95f03e1b2667b506b463 (patch)
tree16443c1807de41fbfd8d7b88d6758c97f65e27a9 /controller
parent2c90899e6396e0a2c8138bc8b9df49d803f3eec0 (diff)
Create tests for page controller
Diffstat (limited to 'controller')
-rw-r--r--controller/pagecontroller.php4
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');
}