Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default Settings using different key than Readme Instructs #28

Open
ianstarz opened this issue Apr 17, 2014 · 0 comments
Open

Default Settings using different key than Readme Instructs #28

ianstarz opened this issue Apr 17, 2014 · 0 comments

Comments

@ianstarz
Copy link

In the readme it says to configure this way:

window.App = require('app').default.create({
  deviseEmberAuth: {
    // ...
  }
});

However, in the index.js file the get setting key uses the deviseSimpleAuth prefix:

    var getSetting = function(app, setting) {
      var prefixedKey = "deviseSimpleAuth." + setting;
      return app.getWithDefault(prefixedKey, defaults[setting]);
    };

One or the other should be updated but I'm not sure which. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant