How to attach css and javascript files in zf2 controller?
问题 i attach some stylesheets in zend controller but blank page shown,how i include stylesheets and javascript files in zend controller?here is my code: public function showAction() { //css $this->viewHelperManager->get('headLink')->appendStylesheet('/css/style.css'); $this->viewHelperManager->get('headLink')->appendStylesheet('/css/bootstrap-theme.min.css'); $this->viewHelperManager->get('headLink')->appendStylesheet('/css/tweaks.css'); $this->viewHelperManager->get('headLink')->appendStylesheet