import AppController from './AppController'

export default class DefaultController extends AppController {
  async indexAction(context) {
    return context.redirectToRoute('hello', {name: 'Christoph', foo: 'bar'})
  }
}

import AppController from './AppController'

export default class DefaultController extends AppController {
  async indexAction(context) {
    return context.redirectToRoute('hello', {name: 'Christoph', foo: 'bar'})
  }

  async missingRouteAction(context) {
    return context.redirectToRoute('foobarbazboo')
  }
}

Add an action that redirects to a missing route
Add an action that redirects to a missing route
