Revision 7b3c3bd6 snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/app.js
b/snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/app.js | ||
---|---|---|
4 | 4 |
LOG_TRANSITIONS: true, |
5 | 5 |
LOG_TRANSITIONS_INTERNAL: true, |
6 | 6 |
LOG_VIEW_LOOKUPS: true, |
7 |
currentPath: '', |
|
7 | 8 |
}); |
8 | 9 |
|
9 | 10 |
App.ApplicationAdapter = DS.FixtureAdapter; |
... | ... | |
16 | 17 |
return deserialized; |
17 | 18 |
} |
18 | 19 |
}); |
20 |
|
|
21 |
|
|
22 |
ApplicationController : Ember.Controller.extend({ |
|
23 |
currentPathDidChange: function() { |
|
24 |
App.set('currentPath', this.get('currentPath')); |
|
25 |
}.observes('currentPath') |
|
26 |
}); |
Also available in: Unified diff