Matteo Scandolo | bac2245 | 2017-01-03 16:35:32 -0800 | [diff] [blame] | 1 | export interface IXosModelHelpersService { |
2 | urlFromCoreModel(name: string): string; | ||||
3 | } | ||||
4 | |||||
5 | export class ModelHelpers { | ||||
6 | urlFromCoreModel(name: string): string { | ||||
7 | return `/core/${name.toLowerCase()}s`; | ||||
8 | } | ||||
9 | } |