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