glitchier-soc/app/javascript/flavours/glitch/util/backend_links.js

10 lines
519 B
JavaScript
Raw Normal View History

2018-09-25 15:46:14 +03:00
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?id=${status_id}`;
2019-07-15 00:32:42 +03:00
export const filterEditLink = (id) => `/filters/${id}/edit`;
export const relationshipsLink = '/relationships';
export const securityLink = '/auth/edit';