Gitter migration: Setup redirects (rollout pt. 3)
[gitter.git] / server / serializers / notifications / troupe-id-strategy.js
blobb64f310eec7b33a43375ed8a7ba9acea56fa0c1e
1 'use strict';
3 var troupeService = require('gitter-web-rooms/lib/troupe-service');
4 var idStrategyGenerator = require('gitter-web-serialization/lib/id-strategy-generator');
5 var TroupeStrategy = require('./troupe-strategy');
6 var TroupeIdStrategy = idStrategyGenerator(
7 'TroupeIdStrategy',
8 TroupeStrategy,
9 troupeService.findByIds
12 module.exports = TroupeIdStrategy;