mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 12:21:36 +03:00
725e00442d
fixes #3031 - Adds an initializer for passing config to the frontend, it's not pretty but it works - Forwards the apps route and hides the apps menu item if apps:true is not present in config.js
6 lines
140 B
JavaScript
6 lines
140 B
JavaScript
var SettingsController = Ember.Controller.extend({
|
|
showApps: Ember.computed.bool('config.apps')
|
|
});
|
|
|
|
export default SettingsController;
|