Permalink
Browse files

Fix yml and settings import

  • Loading branch information...
1 parent 02127cf commit fd4efa9cbb2a925885e6fdc89234690655426273 Anatoliy Chakkaev committed May 22, 2011
Showing with 6 additions and 6 deletions.
  1. +2 −2 index.js
  2. +4 −4 install.js
View
@@ -28,11 +28,11 @@ exports.init = function initTwitterConnect () {
_host = settings.url;
if (settings.callbackPath) {
- _callbackPath = callbackPath;
+ _callbackPath = settings.callbackPath;
}
if (settings.connectPath) {
- _connectPath = connectPath;
+ _connectPath = settings.connectPath;
}
}
railway.controller.addBasePath(__dirname + '/app/controllers', '', {
View
@@ -3,14 +3,14 @@ var config = [
' url: "http://1.lvh.me"',
' key: key',
' secret: secret',
- ' connectPath: /twitter_connect',
- ' callbackPath: /twitter_callback',
+ ' connectPath: "/twitter_connect"',
+ ' callbackPath: "/twitter_callback"',
'production:',
' url: "http://example.com"',
' key: key',
' secret: secret',
- ' connectPath: /twitter_connect',
- ' callbackPath: /twitter_callback'
+ ' connectPath: "/twitter_connect"',
+ ' callbackPath: "/twitter_callback"'
].join('\n');
var fs = require('fs');

0 comments on commit fd4efa9

Please sign in to comment.