This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo nano /private/etc/hosts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Update organisation | |
*/ | |
exports.update = function (req, res, next) { | |
var org = req.organisation; | |
org = _.extend(org, req.body); | |
org.save(function (err, org){ | |
if ( err ) return next(err); | |
res.json({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ext.require([ | |
'Ext.data.*', | |
'Ext.panel.Panel', | |
'Ext.layout.container.Card', | |
'Ext.tip.QuickTipManager' | |
]); | |
Ext.define('Customer', { | |
extend: 'Ext.data.Model', | |
fields: [{ |
NewerOlder