#                                                                        #
# Default subroutes configuration for the Flow package                   #
#                                                                        #

##
# Default route to map the first three URL segments to package, controller and action
# including optional format-suffix

-
  name: 'default with action and format'
  uriPattern: '{@package}/{@controller}/{@action}(.{@format})'
  defaults:
    '@format':     'html'
  appendExceedingArguments: true

##
# Default route to map the first two URL segments to package and controller
# optional third URL segment is mapped to action

-
  name: 'default'
  uriPattern: '{@package}/{@controller}(/{@action})'
  defaults:
    '@action':     'index'
    '@format':     'html'
  appendExceedingArguments: true

##
# Default route with just the package

-
  name: 'default with package'
  uriPattern: '{@package}'
  defaults:
    '@controller': 'Standard'
    '@action':     'index'
    '@format':     'html'
  appendExceedingArguments: true

##
# Fallback route

-
  name: 'fallback'
  uriPattern: ''
  defaults:
    '@package':    'TYPO3.Flow'
    '@subpackage': 'Mvc'
    '@controller': 'Standard'
    '@action':     'index'
    '@format':     'html'
