1602/express-on-railway — Issue #127: Controller javascripts and stylesheets is not defined
Author: searchinnerpeace
Created: 2012-03-03 22:12:06+00:00
State: open

Commands used:

$railway init blog && cd blog
$npm install -l
$railway g scaffold posts title content
$railway server 8000

Railway log:
Sat Mar 03 2012 18:36:43 GMT-0300 (BRT) 6
GET /posts controller: posts action: index
>>> perform protect from forgery
<<< protect from forgery [0 ms]
>>> perform index
[57 ms]
Rendering posts/index using layout posts_layout
<<< index [66 ms]
Error: Controller stylesheets is not defined
at new Controller (/home/user/Development/blog/node_modules/railway/lib/controller.js:43:15)
at Object.load (/home/user/Development/blog/node_modules/railway/lib/controller.js:424:16)
at Object.loadController (/home/user/Development/blog/node_modules/railway/lib/controller_bridge.js:17:31)
at /home/user/Development/blog2/node_modules/railway/lib/controller_bridge.js:5:36
at callbacks (/home/user/Development/blog/node_modules/express/lib/router/index.js:272:11)
at param (/home/user/Development/blog/node_modules/express/lib/router/index.js:246:11)
at param (/home/user/Development/blog/node_modules/express/lib/router/index.js:243:11)
at param (/home/user/Development/blog/node_modules/express/lib/router/index.js:243:11)
at pass (/home/user/Development/blog/node_modules/express/lib/router/index.js:253:5)
at Router._dispatch (/home/user/Development/blog/node_modules/express/lib/router/index.js:280:4)
Error: Controller stylesheets is not defined
at new Controller (/home/user/Development/blog/node_modules/railway/lib/controller.js:43:15)
at Object.load (/home/user/Development/blog/node_modules/railway/lib/controller.js:424:16)
at Object.loadController (/home/user/Development/blog/node_modules/railway/lib/controller_bridge.js:17:31)
at /home/user/Development/blog/node_modules/railway/lib/controller_bridge.js:5:36
at callbacks (/home/user/Development/blog/node_modules/express/lib/router/index.js:272:11)
at param (/home/user/Development/blog/node_modules/express/lib/router/index.js:246:11)
at param (/home/user/Development/blog/node_modules/express/lib/router/index.js:243:11)
at param (/home/user/Development/blog/node_modules/express/lib/router/index.js:243:11)
at pass (/home/user/Development/blog/node_modules/express/lib/router/index.js:253:5)
at Router._dispatch (/home/user/Development/blog/node_modules/express/lib/router/index.js:280:4)
Error: Controller javascripts is not defined
at new Controller (/home/user/Development/blog/node_modules/railway/lib/controller.js:43:15)
at Object.load (/home/user/Development/blog/node_modules/railway/lib/controller.js:424:16)
at Object.loadController (/home/user/Development/blog/node_modules/railway/lib/controller_bridge.js:17:31)
at /home/user/Development/blog/node_modules/railway/lib/controller_bridge.js:5:36
at callbacks (/home/user/Development/blog/node_modules/express/lib/router/index.js:272:11)
at param (/home/user/Development/blog/node_modules/express/lib/router/index.js:246:11)
at param (/home/user/Development/blog/node_modules/express/lib/router/index.js:243:11)
at param (/home/user/Development/blog/node_modules/express/lib/router/index.js:243:11)
at pass (/home/user/Development/blog/node_modules/express/lib/router/index.js:253:5)
at Router._dispatch (/home/user/Development/blog/node_modules/express/lib/router/index.js:280:4)
Error: Controller javascripts is not defined
at new Controller (/home/user/Development/blog/node_modules/railway/lib/controller.js:43:15)
at Object.load (/home/user/Development/blog/node_modules/railway/lib/controller.js:424:16)
at Object.loadController (/home/user/Development/blog/node_modules/railway/lib/controller_bridge.js:17:31)
at /home/user/Development/blog/node_modules/railway/lib/controller_bridge.js:5:36
at callbacks (/home/user/Development/blog/node_modules/express/lib/router/index.js:272:11)
at param (/home/user/Development/blog/node_modules/express/lib/router/index.js:246:11)
at param (/home/user/Development/blog/node_modules/express/lib/router/index.js:243:11)
at param (/home/user/Development/blog/node_modules/express/lib/router/index.js:243:11)
at pass (/home/user/Development/blog/node_modules/express/lib/router/index.js:253:5)
at Router._dispatch (/home/user/Development/blog/node_modules/express/lib/router/index.js:280:4)