2018-04-27 08:42:22 +02:00
|
|
|
const serveAssetByClaim = require('../../controllers/assets/serveAssetByClaim');
|
|
|
|
const serveAssetByIdentifierAndClaim = require('../../controllers/assets/serveAssetByIdentifierAndClaim');
|
2018-03-29 02:35:41 +02:00
|
|
|
|
2018-03-29 20:24:52 +02:00
|
|
|
module.exports = (app, db) => {
|
|
|
|
app.get('/:identifier/:claim', serveAssetByIdentifierAndClaim);
|
|
|
|
app.get('/:claim', serveAssetByClaim);
|
2018-03-29 02:35:41 +02:00
|
|
|
};
|