diff options
Diffstat (limited to 'inc/poche/Routing.class.php')
-rw-r--r-- | inc/poche/Routing.class.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/inc/poche/Routing.class.php b/inc/poche/Routing.class.php index 7e259c24..6e2c046b 100644 --- a/inc/poche/Routing.class.php +++ b/inc/poche/Routing.class.php | |||
@@ -11,8 +11,8 @@ | |||
11 | class Routing | 11 | class Routing |
12 | { | 12 | { |
13 | protected $wallabag; | 13 | protected $wallabag; |
14 | protected $referer; | 14 | public $referer; |
15 | protected $view; | 15 | public $view; |
16 | protected $action; | 16 | protected $action; |
17 | protected $id; | 17 | protected $id; |
18 | protected $url; | 18 | protected $url; |
@@ -55,7 +55,7 @@ class Routing | |||
55 | # because messages can be added in $poche->action(), we have to add this entry now (we can add it before) | 55 | # because messages can be added in $poche->action(), we have to add this entry now (we can add it before) |
56 | $this->vars = array_merge($this->vars, array('messages' => $this->wallabag->messages->display('all', FALSE))); | 56 | $this->vars = array_merge($this->vars, array('messages' => $this->wallabag->messages->display('all', FALSE))); |
57 | 57 | ||
58 | $this->_render($this->file, $this->vars); | 58 | $this->render($this->file, $this->vars); |
59 | } | 59 | } |
60 | 60 | ||
61 | private function _defineTplInformation() | 61 | private function _defineTplInformation() |
@@ -142,7 +142,7 @@ class Routing | |||
142 | } | 142 | } |
143 | } | 143 | } |
144 | 144 | ||
145 | private function _render($file, $vars) | 145 | public function render($file, $vars) |
146 | { | 146 | { |
147 | echo $this->wallabag->tpl->render($file, $vars); | 147 | echo $this->wallabag->tpl->render($file, $vars); |
148 | } | 148 | } |