Add parameters to controllers

This commit is contained in:
brantje 2016-09-09 17:41:02 +02:00
parent 42e092f262
commit 514694d4c7
4 changed files with 10 additions and 10 deletions

View file

@ -36,21 +36,21 @@ class CredentialController extends Controller {
/**
* @NoAdminRequired
*/
public function get() {
public function get($credential_id) {
return;
}
/**
* @NoAdminRequired
*/
public function update() {
public function update($credential_id) {
return;
}
/**
* @NoAdminRequired
*/
public function delete() {
public function delete($credential_id) {
return;
}
}

View file

@ -30,7 +30,7 @@ class FileController extends Controller {
/**
* @NoAdminRequired
*/
public function upload() {
public function upload($credential_id) {
return;
}
@ -38,7 +38,7 @@ class FileController extends Controller {
/**
* @NoAdminRequired
*/
public function delete() {
public function delete($credential_id, $file_id) {
return;
}
}

View file

@ -29,7 +29,7 @@ class RevisionController extends Controller {
/**
* @NoAdminRequired
*/
public function get() {
public function get($credential_id) {
return;
}
@ -37,7 +37,7 @@ class RevisionController extends Controller {
/**
* @NoAdminRequired
*/
public function delete() {
public function delete($credential_id, $revision_id) {
return;
}
}

View file

@ -36,21 +36,21 @@ class VaultController extends Controller {
/**
* @NoAdminRequired
*/
public function get() {
public function get($vault_id) {
return;
}
/**
* @NoAdminRequired
*/
public function update() {
public function update($vault_id) {
return;
}
/**
* @NoAdminRequired
*/
public function delete() {
public function delete($vault_id) {
return;
}
}