We.js plugin to add one url for get user and system settings
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
.gitignore
.jscsrc
.jshintignore
.jshintrc
.npmignore
.travis.yml
README.md
package.json
plugin.js

README.md

We.js user settings plugin

We.js plugin to expose user and system settings

URls

Get user settings

get /user-settings

Hooks

we-plugin-user-settings:getCurrentUserSettings

Usage:

we.hooks.on('we-plugin-user-settings:getCurrentUserSettings', function(ctx, done) {
  // cosnt req = data.req,
  //   res = data.res;

  // change the ctx.data value and

  done();
});

Links

Copyright and license

Copyright Alberto Souza contato@albertosouza.net and contributors , under the MIT license.

Sponsored by