Skip to content
This repository has been archived by the owner on Jul 12, 2020. It is now read-only.

Commit

Permalink
Merge pull request #23 from amibiz/master
Browse files Browse the repository at this point in the history
fixes #22 Add support for case-sensitive url paths.
  • Loading branch information
eplaut committed Mar 1, 2017
2 parents 96933ba + ad90228 commit eeb336b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion butler/butler_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def get_default(self, name):

def _get_base_url(self):
"""Returns the prefix for the view function, double underscore changed to slash."""
return '/{}/'.format(self.name.lower().replace('__', '/'))
return '/{}/'.format(self.name.replace('__', '/'))

def get_url(self, params):
"""Returns full url, removing ending slashes."""
Expand Down

0 comments on commit eeb336b

Please sign in to comment.