title: How to add configuration settings to locals on Sails.js
body: <p>I'm building a webapp using Sails.js and I'm wondering how to have different configurations on development and production modes. I thought that I just had to put a configuration key in <strong>config/local.js</strong> but it doesn't work. Here's an example of what I'm trying to do:</p>
  
  <pre><code>config: {
      linkedIn_key: 'abcde',
      linkedIn_secret: '13mcas',
      linkedIn_url: 'http://localhost:1337/user/login'
  }
  </code></pre>
  
  <p>I tried to access config in the UserController.js but I wasn't able to get the value. What is the right way to do it?</p>
  
  <p>Best regards,
  João</p>