tootlab-mastodon/app/javascript/flavours/glitch/util/backend_links.js
2018-11-19 15:56:38 +01:00

7 lines
362 B
JavaScript

export const preferencesLink = '/settings/preferences';
export const profileLink = '/settings/profile';
export const signOutLink = '/auth/sign_out';
export const termsLink = '/terms';
export const accountAdminLink = (id) => `/admin/accounts/${id}`;
export const statusAdminLink = (account_id, status_id) => `/admin/accounts/${account_id}/statuses/${status_id}`;