Register a route with fluxapp, to be used by the router, see Route Object for more information on route structure.

fluxapp.registerRoute({
  id : 'homepace',
  path : '/index',
  handler: require('./components/homepage'),
  method : 'GET'
});

For more information see Route Object

👍

On to getActionType(action)