Initial Commit from Ember CLI v2.5.1
_...,
,:^;,...;
-+===;. ,,--++====++-,,, .: /.....,
:::::~+++++#:,+#++++++++++++++++++#*..: /,......
(,,,,,,::=+++##++++++++++++++++++++++#. :....../
...,,,,,::++++++++++++++++++++++++++++++*..,...:
*..+...,#@@@@@@@@@++++++++++++++++++++++#*....*
@#,;##############@@@+*+#@@@@@@@@@@#*++#..<
*@##@@+,-*^^^*-+@####@@@######@@@#####@@,,,+
@#@* @#@@@@#@@+--*^^*--#@@@@@@#
@#@. @# @##+++@#, .@@#@@
#@# @@ +@@++++#@@ @@ :@@
:@#* @#@++++++@#* #@ @@+
:*+@@#;,.__.+@#@+,-^^.++@# @@++
;* :*@@@##@@@@;++r._j^.+@##@+,.__,,@@++.
/* ........+++++++++++++#@@@@@###@@#++++,
,: ...,@@@#++===----==@@@####,,....+++++
.: ......@@##@\ ; :@####@,,...... +++.
; .........@###, ; ;xx#@;,,..... *;+,
| ........,*;xxxx--^--=xxx,........ :+#;
; ......,,;xxxxxxxxxxxxx;,..... *+#
; ......,::xxxx;. ...... +. .
*; ......... +### .... / ,. /:| ,.
.+: ... ;##++##, . ,#. (..v..;*./
** ## ###* .:*&&&+. \.,....<,
#&+**==-..,,__ ;## ### :,*+&&&&&&&v+#&,,.._/
#&&&&*...,::,,. ##; ,##* .*****;:&&&&&&&&&
,+*+;~*..*** *.* ### ###* ******* *+#&;*
##,;## **** :, **
##### ## ### ###, ######## .##### ;## ##
####### ;## #### ,###. ########## ######## ### ####
### ### ### ########## #### #### ,## ### #######*
### ,### ##############: ## ### #### ,## :#### ### ##;
########## ########### ## .## ,### ####### ##### :######
###### .###### #### ## ### ### ######* :##### ####
############# #### ################ ######## ###
#####* *#* #: :### *###* *#### #*
2016-06-26 11:08:09 +02:00
|
|
|
import Ember from 'ember';
|
|
|
|
import config from './config/environment';
|
|
|
|
|
|
|
|
const Router = Ember.Router.extend({
|
|
|
|
location: config.locationType
|
|
|
|
});
|
|
|
|
|
|
|
|
Router.map(function() {
|
2016-06-26 13:35:06 +02:00
|
|
|
this.route('login');
|
2016-07-11 22:03:47 +02:00
|
|
|
this.route('logout');
|
2016-06-26 13:35:06 +02:00
|
|
|
|
|
|
|
this.route('projects');
|
|
|
|
this.route('project', function() {
|
|
|
|
this.route('index', { path: '/:projectid' });
|
|
|
|
this.route('new');
|
|
|
|
this.route('edit', { path: '/edit/:projectid' });
|
|
|
|
this.route('delete', { path: '/delete/:projectid' });
|
|
|
|
});
|
2016-06-28 10:00:38 +02:00
|
|
|
|
2016-07-11 22:03:47 +02:00
|
|
|
this.route('me');
|
2016-06-29 17:08:42 +02:00
|
|
|
|
2016-06-28 10:57:34 +02:00
|
|
|
this.route('visualization', function() {
|
|
|
|
this.route('index', { path: '/:visualizationid' });
|
|
|
|
this.route('new');
|
|
|
|
this.route('edit', { path: '/edit/:visualizationid' });
|
|
|
|
this.route('delete', { path: '/delete/:visualizationid' });
|
|
|
|
});
|
2016-06-29 17:08:42 +02:00
|
|
|
|
2016-07-11 22:03:47 +02:00
|
|
|
this.route('user', function() {
|
|
|
|
this.route('edit', { path: '/edit/:userid' });
|
|
|
|
this.route('new');
|
|
|
|
this.route('delete', { path: '/delete/:userid' });
|
|
|
|
});
|
|
|
|
|
2016-06-29 17:08:42 +02:00
|
|
|
this.route('404', { path: '/*path' });
|
Initial Commit from Ember CLI v2.5.1
_...,
,:^;,...;
-+===;. ,,--++====++-,,, .: /.....,
:::::~+++++#:,+#++++++++++++++++++#*..: /,......
(,,,,,,::=+++##++++++++++++++++++++++#. :....../
...,,,,,::++++++++++++++++++++++++++++++*..,...:
*..+...,#@@@@@@@@@++++++++++++++++++++++#*....*
@#,;##############@@@+*+#@@@@@@@@@@#*++#..<
*@##@@+,-*^^^*-+@####@@@######@@@#####@@,,,+
@#@* @#@@@@#@@+--*^^*--#@@@@@@#
@#@. @# @##+++@#, .@@#@@
#@# @@ +@@++++#@@ @@ :@@
:@#* @#@++++++@#* #@ @@+
:*+@@#;,.__.+@#@+,-^^.++@# @@++
;* :*@@@##@@@@;++r._j^.+@##@+,.__,,@@++.
/* ........+++++++++++++#@@@@@###@@#++++,
,: ...,@@@#++===----==@@@####,,....+++++
.: ......@@##@\ ; :@####@,,...... +++.
; .........@###, ; ;xx#@;,,..... *;+,
| ........,*;xxxx--^--=xxx,........ :+#;
; ......,,;xxxxxxxxxxxxx;,..... *+#
; ......,::xxxx;. ...... +. .
*; ......... +### .... / ,. /:| ,.
.+: ... ;##++##, . ,#. (..v..;*./
** ## ###* .:*&&&+. \.,....<,
#&+**==-..,,__ ;## ### :,*+&&&&&&&v+#&,,.._/
#&&&&*...,::,,. ##; ,##* .*****;:&&&&&&&&&
,+*+;~*..*** *.* ### ###* ******* *+#&;*
##,;## **** :, **
##### ## ### ###, ######## .##### ;## ##
####### ;## #### ,###. ########## ######## ### ####
### ### ### ########## #### #### ,## ### #######*
### ,### ##############: ## ### #### ,## :#### ### ##;
########## ########### ## .## ,### ####### ##### :######
###### .###### #### ## ### ### ######* :##### ####
############# #### ################ ######## ###
#####* *#* #: :### *###* *#### #*
2016-06-26 11:08:09 +02:00
|
|
|
});
|
|
|
|
|
|
|
|
export default Router;
|