mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 01:42:29 +03:00
a3d3632e97
no issue - without this there's no indication the config flag is set when you have no access to the config file or you don't know which features are currently behind the flag
11 lines
276 B
JavaScript
11 lines
276 B
JavaScript
import Helper from '@ember/component/helper';
|
|
import {inject as service} from '@ember/service';
|
|
|
|
export default class EnableDeveloperExperimentsHelper extends Helper {
|
|
@service config;
|
|
|
|
compute() {
|
|
return this.config.get('enableDeveloperExperiments');
|
|
}
|
|
}
|