mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-23 00:00:02 +01:00

Change adapter and serializer to REST api. Add session-user to get logged-in user in every controller/route Change models to async relationships, this way the data is only loaded when requested.
7 lines
152 B
JavaScript
7 lines
152 B
JavaScript
import ApplicationSerializer from './application';
|
|
|
|
export default ApplicationSerializer.extend({
|
|
attrs: {
|
|
projects: { serialize: 'ids' }
|
|
}
|
|
});
|