Advertisement
fahmihilmansyah

route

Mar 17th, 2015
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.00 KB | None | 0 0
  1. fhh_page_homepage:
  2.     path:    /hello/{name}
  3.     defaults: { _controller: FhhPageBundle:Default:index }
  4.  
  5.  
  6. ===================berdasarkan app/config/routing.yml================
  7. fhh_page:
  8.     resource: "@FhhPageBundle/Resources/config/routing.yml"
  9.     prefix:  /
  10.  
  11. app:
  12.     resource: @AppBundle/Controller/
  13.     type:    annotation
  14.  
  15.  
  16. ===================berdasarkan app/config/routing_dev.yml================
  17. _wdt:
  18.     resource: "@WebProfilerBundle/Resources/config/routing/wdt.xml"
  19.     prefix:  /_wdt
  20.  
  21. _profiler:
  22.     resource: "@WebProfilerBundle/Resources/config/routing/profiler.xml"
  23.     prefix:  /_profiler
  24.  
  25. _configurator:
  26.     resource: "@SensioDistributionBundle/Resources/config/routing/webconfigurator.xml"
  27.     prefix:  /_configurator
  28.  
  29. _errors:
  30.     resource: "@TwigBundle/Resources/config/routing/errors.xml"
  31.     prefix:  /_error
  32.  
  33. _main:
  34.     resource: routing.yml
  35.  
  36. # AcmeDemoBundle routes (to be removed)
  37. _acme_demo:
  38.     resource: "@AcmeDemoBundle/Resources/config/routing.yml"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement