protected function action($action, $https) { $uri = is_null($action) ? $this->url->getRequest()->path() : $action; return $this->html->entities($this->url->to($uri, array(), $https)); }