2018-03-19 12:53:17 +03:00
|
|
|
import BaseSerializer from './application';
|
|
|
|
|
|
|
|
export default BaseSerializer.extend({
|
|
|
|
embed: true,
|
|
|
|
|
2019-02-25 17:55:55 +03:00
|
|
|
include(/*request*/) {
|
2018-03-13 14:17:29 +03:00
|
|
|
let includes = [];
|
2018-03-19 12:53:17 +03:00
|
|
|
|
2019-02-25 17:55:55 +03:00
|
|
|
includes.push('tags');
|
|
|
|
includes.push('authors');
|
2018-03-19 12:53:17 +03:00
|
|
|
|
2018-03-13 14:17:29 +03:00
|
|
|
return includes;
|
2018-03-19 12:53:17 +03:00
|
|
|
}
|
|
|
|
});
|