SHARE
TWEET

Untitled

a guest Jan 4th, 2014 32 Never
  1. my_app_route:
  2.   pattern: /app/route
  3.   defaults: { _controller: "MyAppBundle:Default:index", _format: json }
  4.   requirements: { _method: post|put }
  5.        
  6. $routeParams = $this->get('router')->match('/');
RAW Paste Data
Top