lux
lux copied to clipboard
Find a way to route root to a controller action.
This is a requirement to implement #331 and return a welcome page at "mynewluxapi.com/"
export default function routes() {
//Idea
this.root.get('controllerName', 'actionName');
//route to the index function of the ApplicationController
this.root.get('application', 'index')
}