2018-04-27 09:54:36 -07:00
|
|
|
const serveAssetByClaim = require('../../controllers/assets/serveByClaim');
|
|
|
|
const serveAssetByIdentifierAndClaim = require('../../controllers/assets/serveByIdentifierAndClaim');
|
2018-03-28 17:35:41 -07:00
|
|
|
|
2018-03-29 11:24:52 -07:00
|
|
|
module.exports = (app, db) => {
|
|
|
|
app.get('/:identifier/:claim', serveAssetByIdentifierAndClaim);
|
|
|
|
app.get('/:claim', serveAssetByClaim);
|
2018-03-28 17:35:41 -07:00
|
|
|
};
|