about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/util/backend_links.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/flavours/glitch/util/backend_links.js')
-rw-r--r--app/javascript/flavours/glitch/util/backend_links.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/util/backend_links.js b/app/javascript/flavours/glitch/util/backend_links.js
new file mode 100644
index 000000000..bc82197be
--- /dev/null
+++ b/app/javascript/flavours/glitch/util/backend_links.js
@@ -0,0 +1,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`;