2016-03-19 21:37:04 +01:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
class HelpController {
|
2016-03-29 12:34:10 +02:00
|
|
|
constructor(topNavigationController, helpView) {
|
2016-03-19 21:37:04 +01:00
|
|
|
this.topNavigationController = topNavigationController;
|
2016-03-29 12:34:10 +02:00
|
|
|
this.helpView = helpView;
|
2016-03-19 21:37:04 +01:00
|
|
|
}
|
|
|
|
|
2016-03-29 12:34:10 +02:00
|
|
|
showHelpRoute(section) {
|
2016-03-19 21:37:04 +01:00
|
|
|
this.topNavigationController.activate('help');
|
2016-03-29 12:34:10 +02:00
|
|
|
this.helpView.render(section);
|
2016-03-19 21:37:04 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = HelpController;
|