mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-18 07:51:55 +03:00
57bc14e00f
ref https://github.com/TryGhost/Team/issues/2421 - added the Mentions API endpoint to Admin - setup initial mention model in the Ember Store to be able to dev with the endpoint - added basic routing to access the `/mentions` page that is currently behind feature flags - Setup basic testing with a mirage mock endpoint.
6 lines
155 B
JavaScript
6 lines
155 B
JavaScript
import {paginatedResponse} from '../utils';
|
|
|
|
export default function mockMentions(server) {
|
|
server.get('/mentions/', paginatedResponse('mentions'));
|
|
}
|