Commit 2aee0041 authored by Serge S. Koval's avatar Serge S. Koval

Merge pull request #333 from Cosmius/patch-1

pass positional argument to inner
parents 09349ede e2d933e1
......@@ -48,7 +48,7 @@ def expose_plugview(url='/'):
# Base views
def _wrap_view(f):
@wraps(f)
def inner(self, **kwargs):
def inner(self, *args, **kwargs):
# Store current admin view
h.set_current_view(self)
......@@ -57,7 +57,7 @@ def _wrap_view(f):
if abort is not None:
return abort
return f(self, **kwargs)
return f(self, *args, **kwargs)
return inner
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment