aboutsummaryrefslogtreecommitdiff
path: root/app/class/controller.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2018-11-12 12:03:39 +0100
committervincent-peugnet <v.peugnet@free.fr>2018-11-12 12:03:39 +0100
commit0f44c6d918a2932b68019c02de5bc55e7057600a (patch)
tree304bc817aa158582a3eab32ee81e06fd0b7e0829 /app/class/controller.php
parent89b05effb2eb45382762fcfcfae2373b7754caa7 (diff)
downloadwcms-0f44c6d918a2932b68019c02de5bc55e7057600a.tar.gz
wcms-0f44c6d918a2932b68019c02de5bc55e7057600a.zip
wiki-url
Diffstat (limited to 'app/class/controller.php')
-rw-r--r--app/class/controller.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/class/controller.php b/app/class/controller.php
index 1c3fee5..f7a3bd6 100644
--- a/app/class/controller.php
+++ b/app/class/controller.php
@@ -96,7 +96,10 @@ class Controller
$this->redirect($this->router->generate($route, $vars));
}
-
+ public function uart($id)
+ {
+ return $this->router->generate('artread/', ['art' => $id]);
+ }
}