add a way to add extra data for modus before dispatching to them #32

Closed
RonnyPfannschmidt opened this Issue May 6, 2010 · 2 comments

Comments

Projects
None yet
2 participants
Contributor

RonnyPfannschmidt commented May 6, 2010

it would be nice if there was a way to generate extra data before dispatching to a module

something like this (bad example to get the idea across)

@app.route('//wiki', module=vcswiki)
def user_wiki(username):
    g.wiki = get_wiki_for_user(username)

@app.route('/help', module=vcswiki)
def help_wiki():
    g.wiki = get_help_wiki()
Owner

mitsuhiko commented May 6, 2010

Can you check if #33 describes what you want?

Owner

mitsuhiko commented May 8, 2010

Duplicate of #33.

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment