Commit d8a23c57 authored by wilhelmhb's avatar wilhelmhb

routing from the top of the project

parent 361dfc0e
#REST
rest :
type : rest
resource : "routing_rest.yml"
prefix : /
_wdt:
resource: "@WebProfilerBundle/Resources/config/routing/wdt.xml"
prefix: /_wdt
_profiler:
resource: "@WebProfilerBundle/Resources/config/routing/profiler.xml"
prefix: /_profiler
_configurator:
resource: "@SensioDistributionBundle/Resources/config/routing/webconfigurator.xml"
prefix: /_configurator
_errors:
resource: "@TwigBundle/Resources/config/routing/errors.xml"
prefix: /_error
_main:
resource: routing.yml
#app/routing_rest.yml
api :
type : rest
resource: "@ApiBundle/Resources/config/routing_rest.yml"
login_route:
path: /login
defaults: { _controller: ApiBundle:Security:login }
login_check:
path: /login_check
# no controller is bound to this route
# as it's handled by the Security system
logout:
path: /logout
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment