about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/util/backend_links.js
blob: 2e5111a7f459b7b697a7bcb1e923babfda60019f (plain) (blame)
1
2
3
4
5
6
7
8
9
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}`;
export const filterEditLink = (id) => `/filters/${id}/edit`;
export const relationshipsLink = '/relationships';
export const securityLink = '/auth/edit';