From: Jeff Schwartz <jefftschwa...@gmail.com>
Date: Thu, 6 Sep 2012 12:14:06 -0700 (PDT)
Local: Thurs, Sep 6 2012 3:14 pm
Subject: Re: Routing: the Right Way to Pass Application Data to Views and Route Names
You can expose data and services to your routes through route-specific I use this widely in my apps. It allows me to make my apps highly On Saturday, September 1, 2012 11:02:01 PM UTC-4, Keith Rosenberg wrote:
> The API documentation is pretty good as a reference, but I could > My situation is that I have some routes in path "/routes/index.js" and > --APP.JS-- > var app = express(); > var routes = require('./routes')(app) > --ROUTES/INDEX.JS-- > And then, of course "/core.ejs" references all the data in core. Is > I saw this app.param() entry <http://expressjs.com/api.html#app.param> in > Thanks much! You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||