Skip to content
This repository has been archived by the owner on Jan 5, 2019. It is now read-only.

Commit

Permalink
Removed strict_slashes constant
Browse files Browse the repository at this point in the history
  • Loading branch information
rbw committed Mar 10, 2018
1 parent 7d66f36 commit d6e1a1b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions flask_journey/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
from .exceptions import IncompatibleSchema
from furl import furl

__DEFAULT_STRICT_SLASHES = False


def _validate_schema(obj):
"""Ensures the passed schema instance is compatible
Expand All @@ -24,7 +22,7 @@ def _validate_schema(obj):
return obj


def route(bp, *args, strict_slashes=__DEFAULT_STRICT_SLASHES,
def route(bp, *args, strict_slashes=False,
body_schema=None, query_schema=None, marshal_with=None, **kwargs):

"""Journey route decorator
Expand Down

0 comments on commit d6e1a1b

Please sign in to comment.