Authored by whb

删除

1 -<?php  
2 -use Action\RootAction;  
3 -  
4 -class IndexController extends RootAction  
5 -{  
6 - public function indexAction()  
7 - {  
8 - $this->_viewScriptPush(  
9 - array('bootstrap', 'cookies', 'custom', 'jquery.dataTables', 'dataTables.responsive', 'dataTables.bootstrap')  
10 - );  
11 - $this->_viewLink()->offsetSetFile(103, $this->_css('dataTables', true));  
12 - $this->_assign('tab',array($this->getRequest()->getModuleName(),$this->getRequest()->getControllerName(),$this->getRequest()->getActionName()));  
13 - }  
14 -  
15 - public function addAction()  
16 - {  
17 - $this->_viewLink()  
18 - ->offsetSetFile(20, $this->_css('jquery.tagsinput', true))  
19 - ->offsetSetFile(21, $this->_css('toggles', true));  
20 -  
21 - $this->_viewScriptPush(array(  
22 - 'bootstrap', 'cookies', 'custom','retina', 'pace', 'modernizr', 'jquery-migrate',  
23 - 'jquery-ui', 'autogrow-textarea',  
24 - 'jquery.mousewheel', 'jquery.tagsinput', 'toggles',  
25 - 'select2'  
26 - ));  
27 - $this->_assign('tab',array($this->getRequest()->getModuleName(),$this->getRequest()->getControllerName(),$this->getRequest()->getActionName()));  
28 - }  
29 -}  
1 -;profile  
2 -product.index.type = "rewrite"  
3 -product.index.match = "/product/$"  
4 -product.index.route.module = Product  
5 -product.index.route.controller = Index  
6 -product.index.route.action = Index