lib/routes/admin/plugins/index.js
function (req, res) {
    pluginManager[req.body.action](req.body.id, function (err) {
      if (err) return res.status(500).end(err.message);

      res.json({ok: 'restarting strider'});
      restart();
    });
  }
function (req, res) {
    pluginManager[req.body.action](req.body.id, function (err) {
      if (err) return res.status(500).end(err.message);

      res.json({ok: 'restarting strider'});
      restart();
    });
  }
function ( req , res ) { pluginManager [ req . body . action ] ( req . body . id , function ( err ) { if ( err ) return res . status ( 500 ) . end ( err . message ) ; res . json ( { ok : 'restarting strider' } ) ; restart ( ) ; } ) ; }
Change a plugin (uninstall, install, upgrade)
PUT /admin/plugins
Change a plugin ( uninstall install upgrade ) PUT / admin / plugins