Skip to content

Commit

Permalink
Merge pull request #9 from joonathan/patch-1
Browse files Browse the repository at this point in the history
Pass kwargs to Blueprint loaded routes
  • Loading branch information
krak3n committed Jul 16, 2014
2 parents 731411a + 4b34369 commit 96b1284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_via/routers/default.py
Expand Up @@ -400,7 +400,7 @@ def add_to_app(self, app, **kwargs):
routes = self.include(self.routes_module, self.routes_name)

# Load the routes
self.load(blueprint, routes)
self.load(blueprint, routes, **kwargs)

# Register the blueprint with the application
app.register_blueprint(blueprint)

0 comments on commit 96b1284

Please sign in to comment.