Skip to content

Commit

Permalink
Fix yml and settings import
Browse files Browse the repository at this point in the history
  • Loading branch information
Anatoliy Chakkaev committed May 22, 2011
1 parent 02127cf commit fd4efa9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions index.js
Expand Up @@ -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', '', {
Expand Down
8 changes: 4 additions & 4 deletions install.js
Expand Up @@ -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');
Expand Down

0 comments on commit fd4efa9

Please sign in to comment.