Install Mean.io on Ubuntu
Just run the follow command:
curl https://gist.githubusercontent.com/AlmogBaku/8820549bf853f6e5aef3/raw/afb0176e60b47952017be3761c458a56a624a579/meanInstall.sh | sh
<?php | |
/** | |
* @author Almog Baku | |
* almog@GoDisco.net | |
* http://www.GoDisco.net/ | |
* | |
* 10/05/15 18:43 | |
*/ | |
namespace Rimoto\SubscriberBundle\Request\ParamConverter; |
/** | |
* Create new service | |
* @Post("/services/") | |
* | |
* @View("::api.html.twig") | |
* @Security("has_role('ROLE_ADMIN')") | |
* | |
* @ApiDoc( | |
* authenticationRoles={"Admin"}, | |
* input="Rimoto\PolicyBundle\Form\SCEServiceType", |
Just run the follow command:
curl https://gist.githubusercontent.com/AlmogBaku/8820549bf853f6e5aef3/raw/afb0176e60b47952017be3761c458a56a624a579/meanInstall.sh | sh
Allow non-latin slugs using DoctrineExtensions sluggable
.
slugger
class (change the namespace of course)sluggable
service as described in symfony-services.yml
sluggable service
method as described in call.php