@@ -13,7 +13,7 @@ module fng.services {
13
13
prefix : '' // How do we want to prefix our routes? If not empty string then first character must be slash (which is added if not)
14
14
} ;
15
15
16
- var postActions : Array < string > = [ 'edit' ] ;
16
+ var postActions : Array < string > = [ 'edit' , 'view' ] ;
17
17
18
18
var builtInRoutes :Array < fng . IBuiltInRoute > = [
19
19
{
@@ -24,7 +24,7 @@ module fng.services {
24
24
{ route : '/analyse/:model' , state : 'analyse::model' , templateUrl : 'base-analysis.html' } ,
25
25
{ route : '/:model/:id/edit' , state : 'model::edit' , templateUrl : 'base-edit.html' } ,
26
26
{ route : '/:model/:id/edit/:tab' , state : 'model::edit::tab' , templateUrl : 'base-edit.html' } ,
27
- { route : '/:model/:id/view' , state : 'model::view ' , templateUrl : 'base-view.html' } ,
27
+ { route : '/:model/:id/view' , state : 'model::edit ' , templateUrl : 'base-view.html' } ,
28
28
{ route : '/:model/:id/view/:tab' , state : 'model::view::tab' , templateUrl : 'base-view.html' } ,
29
29
{ route : '/:model/new' , state : 'model::new' , templateUrl : 'base-edit.html' } ,
30
30
{ route : '/:model' , state : 'model::list' , templateUrl : 'base-list.html' } ,
0 commit comments