2018-06-26 03:42:30 +02:00
|
|
|
const serveByClaim = require('../../controllers/assets/serveByClaim');
|
|
|
|
const serveByIdentifierAndClaim = require('../../controllers/assets/serveByIdentifierAndClaim');
|
2018-03-29 02:35:41 +02:00
|
|
|
|
2018-09-28 05:56:10 +02:00
|
|
|
// TODO: Adjust build & sources to use import/export everywhere
|
|
|
|
const Actions = require('@actions').default;
|
|
|
|
const Sagas = require('@sagas').default;
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
'/:identifier/:claim': { controller: serveByIdentifierAndClaim, action: Actions.onHandleShowPageUri, saga: Sagas.handleShowPageUri },
|
2018-11-11 01:11:12 +01:00
|
|
|
'/:claim' : { controller: serveByClaim, action: Actions.onHandleShowPageUri, saga: Sagas.handleShowPageUri },
|
2018-03-29 02:35:41 +02:00
|
|
|
};
|