Re: [fw-general] ZF2 Routing question

2013-07-19 Thread Ben Scholzen 'DASPRiD'
Apart from what Matthew already said, to answer the general question: Yes. You can have the following in your admin module config: return array( 'router' => array( 'routes' => array( 'admin' => array( 'type' => 'literal', 'options' => array('

Re: [fw-general] ZF2 Routing question

2013-07-18 Thread Matthew Weier O'Phinney
On Thu, Jul 18, 2013 at 3:21 PM, Tomasz Kuter wrote: > Hi all, > > I am working on own CMS system in Zend Framework 2. > It means I will have frontend and backend site. > > I would like to have backend at following url: > /admin > > In administration panel there will be a few sections at the begin

[fw-general] ZF2 Routing question

2013-07-18 Thread Tomasz Kuter
Hi all, I am working on own CMS system in Zend Framework 2. It means I will have frontend and backend site. I would like to have backend at following url: /admin In administration panel there will be a few sections at the beginning e.g. webpages, news, media. These sections will be available as