Initial Commit from Ember CLI v3.20.0
_...,
,:^;,...;
-+===;. ,,--++====++-,,, .: /.....,
:::::~+++++#:,+#++++++++++++++++++#*..: /,......
(,,,,,,::=+++##++++++++++++++++++++++#. :....../
...,,,,,::++++++++++++++++++++++++++++++*..,...:
*..+...,#@@@@@@@@@++++++++++++++++++++++#*....*
@#,;##############@@@+*+#@@@@@@@@@@#*++#..<
*@##@@+,-*^^^*-+@####@@@######@@@#####@@,,,+
@#@* @#@@@@#@@+--*^^*--#@@@@@@#
@#@. @# @##+++@#, .@@#@@
#@# @@ +@@++++#@@ @@ :@@
:@#* @#@++++++@#* #@ @@+
:*+@@#;,.__.+@#@+,-^^.++@# @@++
;* :*@@@##@@@@;++r._j^.+@##@+,.__,,@@++.
/* ........+++++++++++++#@@@@@###@@#++++,
,: ...,@@@#++===----==@@@####,,....+++++
.: ......@@##@\ ; :@####@,,...... +++.
; .........@###, ; ;xx#@;,,..... *;+,
| ........,*;xxxx--^--=xxx,........ :+#;
; ......,,;xxxxxxxxxxxxx;,..... *+#
; ......,::xxxx;. ...... +. .
*; ......... +### .... / ,. /:| ,.
.+: ... ;##++##, . ,#. (..v..;*./
** ## ###* .:*&&&+. \.,....<,
#&+**==-..,,__ ;## ### :,*+&&&&&&&v+#&,,.._/
#&&&&*...,::,,. ##; ,##* .*****;:&&&&&&&&&
,+*+;~*..*** *.* ### ###* ******* *+#&;*
##,;## **** :, **
##### ## ### ###, ######## .##### ;## ##
####### ;## #### ,###. ########## ######## ### ####
### ### ### ########## #### #### ,## ### #######*
### ,### ##############: ## ### #### ,## :#### ### ##;
########## ########### ## .## ,### ####### ##### :######
###### .###### #### ## ### ### ######* :##### ####
############# #### ################ ######## ###
#####* *#* #: :### *###* *#### #*
2020-08-21 20:13:47 +00:00
|
|
|
import EmberRouter from '@ember/routing/router';
|
|
|
|
import config from 'gwt-frontend/config/environment';
|
|
|
|
|
|
|
|
export default class Router extends EmberRouter {
|
|
|
|
location = config.locationType;
|
|
|
|
rootURL = config.rootURL;
|
|
|
|
}
|
2020-10-05 03:45:40 +00:00
|
|
|
|
|
|
|
Router.map(function() {
|
2020-10-09 21:41:20 +00:00
|
|
|
this.route('verse', { path: '/verse/:verse_id' }, function() {
|
|
|
|
this.route('word', { path: '/word/:word_id' });
|
|
|
|
});
|
2021-03-31 20:41:58 +00:00
|
|
|
this.route('home', { path: '/' });
|
|
|
|
this.route('contributors');
|
|
|
|
this.route('user-guide');
|
|
|
|
this.route('site-purpose');
|
2021-04-07 12:27:19 +00:00
|
|
|
this.route('contact-us');
|
2021-04-09 16:15:37 +00:00
|
|
|
this.route('morph-legend');
|
2021-05-21 14:37:40 +00:00
|
|
|
this.route('commentary-intro', { path: '/commentary/:book_id' });
|
2021-05-26 21:53:40 +00:00
|
|
|
this.route('commentary-article', { path: '/commentary/articles/:article_id' });
|
2020-10-05 03:45:40 +00:00
|
|
|
});
|