Skip to content
On this page

Routes

INFO

This page will describe how routes can be generated.

Examples

Routes

yaml
arch: 1.0.0
definitions:
  routes:
    api:
      - verb: 'resource'
        uri: 'users'
        action: 'UserController'
        methods: ['index', 'store', 'update']
    web:
      - verb: 'resource'
        uri: 'users'
        action: 'UserController'
        methods: ['index', 'store', 'update']