Skip to content

Commit

Permalink
[Fix] Incorrect URL parameter in route
Browse files Browse the repository at this point in the history
  • Loading branch information
malthejorgensen committed Jun 6, 2016
1 parent d40d87d commit aaf0ef1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flask_debugtoolbar/panels/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ class UMLDiagramPanel(DebugPanel):
@classmethod
def init_app(cls, app):
app.add_url_rule(
'/_flask_debugtoolbar_umldiagram/<path:filename>',
'/_flask_debugtoolbar_umldiagram/<path:classname>',
'_flask_debugtoolbar_umldiagram.serve_generated_image',
cls.serve_generated_image
)
@classmethod
def serve_generated_image(cls, app):
def serve_generated_image(cls, classname):
return Response(...)
"""
pass
Expand Down

0 comments on commit aaf0ef1

Please sign in to comment.