Skip to content

Commit

Permalink
Define one more level in ui-router states
Browse files Browse the repository at this point in the history
* To distinguish two states: configuration for timetables, and showing
  the result of timetable generation.
* This change was proposed in a comment to issue #15.
  • Loading branch information
kyukyukyu committed Oct 10, 2015
1 parent 64cf252 commit fa52d58
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions app/create/create.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,28 +32,40 @@
}
},
{
state: 'create.course-cart',
state: 'create.conf',
config: {
abstract: true
}
},
{
state: 'create.conf.course-cart',
config: {
url: ''
}
},
{
state: 'create.search',
state: 'create.conf.search',
config: {
}
},
{
state: 'create.conf.search-result',
config: {
}
},
{
state: 'create.search-result',
state: 'create.result',
config: {
abstract: true
}
},
{
state: 'create.generated',
state: 'create.result.list',
config: {
}
},
{
state: 'create.detail',
state: 'create.result.detail',
config: {
}
}
Expand Down

0 comments on commit fa52d58

Please sign in to comment.