blob: 81825d388fb4d83c2881a5fb13303c704bb5c65d [file] [log] [blame]
Matteo Scandolobac22452017-01-03 16:35:32 -08001export interface IXosModelHelpersService {
2 urlFromCoreModel(name: string): string;
3}
4
5export class ModelHelpers {
6 urlFromCoreModel(name: string): string {
7 return `/core/${name.toLowerCase()}s`;
8 }
9}