Initial Commit from Ember CLI v3.24.0
_...,
,:^;,...;
-+===;. ,,--++====++-,,, .: /.....,
:::::~+++++#:,+#++++++++++++++++++#*..: /,......
(,,,,,,::=+++##++++++++++++++++++++++#. :....../
...,,,,,::++++++++++++++++++++++++++++++*..,...:
*..+...,#@@@@@@@@@++++++++++++++++++++++#*....*
@#,;##############@@@+*+#@@@@@@@@@@#*++#..<
*@##@@+,-*^^^*-+@####@@@######@@@#####@@,,,+
@#@* @#@@@@#@@+--*^^*--#@@@@@@#
@#@. @# @##+++@#, .@@#@@
#@# @@ +@@++++#@@ @@ :@@
:@#* @#@++++++@#* #@ @@+
:*+@@#;,.__.+@#@+,-^^.++@# @@++
;* :*@@@##@@@@;++r._j^.+@##@+,.__,,@@++.
/* ........+++++++++++++#@@@@@###@@#++++,
,: ...,@@@#++===----==@@@####,,....+++++
.: ......@@##@\ ; :@####@,,...... +++.
; .........@###, ; ;xx#@;,,..... *;+,
| ........,*;xxxx--^--=xxx,........ :+#;
; ......,,;xxxxxxxxxxxxx;,..... *+#
; ......,::xxxx;. ...... +. .
*; ......... +### .... / ,. /:| ,.
.+: ... ;##++##, . ,#. (..v..;*./
** ## ###* .:*&&&+. \.,....<,
#&+**==-..,,__ ;## ### :,*+&&&&&&&v+#&,,.._/
#&&&&*...,::,,. ##; ,##* .*****;:&&&&&&&&&
,+*+;~*..*** *.* ### ###* ******* *+#&;*
##,;## **** :, **
##### ## ### ###, ######## .##### ;## ##
####### ;## #### ,###. ########## ######## ### ####
### ### ### ########## #### #### ,## ### #######*
### ,### ##############: ## ### #### ,## :#### ### ##;
########## ########### ## .## ,### ####### ##### :######
###### .###### #### ## ### ### ######* :##### ####
############# #### ################ ######## ###
#####* *#* #: :### *###* *#### #*
2021-01-09 12:08:58 +00:00
|
|
|
import EmberRouter from '@ember/routing/router';
|
2022-08-28 11:19:36 +00:00
|
|
|
import config from 'meiliadmin/config/environment';
|
Initial Commit from Ember CLI v3.24.0
_...,
,:^;,...;
-+===;. ,,--++====++-,,, .: /.....,
:::::~+++++#:,+#++++++++++++++++++#*..: /,......
(,,,,,,::=+++##++++++++++++++++++++++#. :....../
...,,,,,::++++++++++++++++++++++++++++++*..,...:
*..+...,#@@@@@@@@@++++++++++++++++++++++#*....*
@#,;##############@@@+*+#@@@@@@@@@@#*++#..<
*@##@@+,-*^^^*-+@####@@@######@@@#####@@,,,+
@#@* @#@@@@#@@+--*^^*--#@@@@@@#
@#@. @# @##+++@#, .@@#@@
#@# @@ +@@++++#@@ @@ :@@
:@#* @#@++++++@#* #@ @@+
:*+@@#;,.__.+@#@+,-^^.++@# @@++
;* :*@@@##@@@@;++r._j^.+@##@+,.__,,@@++.
/* ........+++++++++++++#@@@@@###@@#++++,
,: ...,@@@#++===----==@@@####,,....+++++
.: ......@@##@\ ; :@####@,,...... +++.
; .........@###, ; ;xx#@;,,..... *;+,
| ........,*;xxxx--^--=xxx,........ :+#;
; ......,,;xxxxxxxxxxxxx;,..... *+#
; ......,::xxxx;. ...... +. .
*; ......... +### .... / ,. /:| ,.
.+: ... ;##++##, . ,#. (..v..;*./
** ## ###* .:*&&&+. \.,....<,
#&+**==-..,,__ ;## ### :,*+&&&&&&&v+#&,,.._/
#&&&&*...,::,,. ##; ,##* .*****;:&&&&&&&&&
,+*+;~*..*** *.* ### ###* ******* *+#&;*
##,;## **** :, **
##### ## ### ###, ######## .##### ;## ##
####### ;## #### ,###. ########## ######## ### ####
### ### ### ########## #### #### ,## ### #######*
### ,### ##############: ## ### #### ,## :#### ### ##;
########## ########### ## .## ,### ####### ##### :######
###### .###### #### ## ### ### ######* :##### ####
############# #### ################ ######## ###
#####* *#* #: :### *###* *#### #*
2021-01-09 12:08:58 +00:00
|
|
|
|
|
|
|
|
export default class Router extends EmberRouter {
|
|
|
|
|
location = config.locationType;
|
|
|
|
|
rootURL = config.rootURL;
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-06 08:19:23 +00:00
|
|
|
Router.map(function () {
|
2022-03-21 11:45:47 +00:00
|
|
|
this.route('admin', function () {
|
|
|
|
|
this.route('indexes', function () {
|
2022-09-01 08:32:02 +00:00
|
|
|
this.route('item', { path: '/:index_uid' }, function () {
|
2022-10-15 09:48:28 +00:00
|
|
|
this.route('settings');
|
2022-08-29 11:30:47 +00:00
|
|
|
this.route('info');
|
2022-08-30 09:48:13 +00:00
|
|
|
this.route('edit');
|
2022-08-30 11:59:24 +00:00
|
|
|
this.route('documents', function () {
|
2022-09-01 10:02:37 +00:00
|
|
|
this.route('document', { path: '/:document_id' }, function () {
|
|
|
|
|
this.route('edit');
|
2022-09-01 10:28:54 +00:00
|
|
|
this.route('delete');
|
2022-09-01 10:02:37 +00:00
|
|
|
});
|
2022-09-01 09:14:56 +00:00
|
|
|
this.route('new');
|
2022-08-30 11:59:24 +00:00
|
|
|
});
|
2022-09-01 14:08:19 +00:00
|
|
|
this.route('delete');
|
2022-03-23 15:09:41 +00:00
|
|
|
});
|
2022-08-30 10:15:36 +00:00
|
|
|
this.route('new');
|
2022-03-21 11:45:47 +00:00
|
|
|
});
|
2022-08-29 13:46:11 +00:00
|
|
|
this.route('keys', function () {
|
2022-09-19 10:22:29 +00:00
|
|
|
this.route('key', { path: '/:uid' }, function () {
|
|
|
|
|
this.route('edit');
|
2022-09-19 10:57:46 +00:00
|
|
|
this.route('delete');
|
2022-09-19 10:22:29 +00:00
|
|
|
});
|
2022-09-19 10:35:56 +00:00
|
|
|
this.route('new');
|
2022-08-29 13:46:11 +00:00
|
|
|
});
|
2022-09-15 14:31:30 +00:00
|
|
|
this.route('tasks', function () {
|
|
|
|
|
this.route('task', { path: '/:uid' });
|
|
|
|
|
});
|
2022-09-19 12:21:24 +00:00
|
|
|
this.route('dumps', function () {});
|
2021-06-06 08:19:23 +00:00
|
|
|
});
|
2022-08-20 06:35:34 +00:00
|
|
|
this.route('login');
|
2022-09-19 07:10:52 +00:00
|
|
|
this.route('not-found', { path: '/*path' });
|
2021-06-06 08:19:23 +00:00
|
|
|
});
|