Skip to content

Instantly share code, notes, and snippets.

View manuakasam's full-sized avatar

Manuel St. manuakasam

  • Germany, NRW, Duisburg
View GitHub Profile
@manuakasam
manuakasam / gist:3181674
Created July 26, 2012 12:02
CSRF not working :(
$this->add(array(
'name' => 'security',
'type' => 'Zend\Form\Element\Csrf'
));
$this->add(array(
'name' => 'submit',
'attributes' => array(
'type' => 'submit',
'value' => 'Go',
@manuakasam
manuakasam / gist:3181673
Created July 26, 2012 12:02
CSRF not working :(
$this->add(array(
'name' => 'security',
'type' => 'Zend\Form\Element\Csrf'
));
$this->add(array(
'name' => 'submit',
'attributes' => array(
'type' => 'submit',
'value' => 'Go',
@manuakasam
manuakasam / gist:3181179
Created July 26, 2012 09:21
Non working route
<?php
return array(
'router' => array(
'routes' => array(
'option' => array(
'type' => 'Literal',
'options' => array(
'route' => '/option',
'defaults' => array(
'__NAMESPACE__' => 'AssetManagement\Controller',