refactor: oneshot command is functional

This commit is contained in:
Cristian 2020-12-31 12:19:14 -05:00
parent 973f8b6abc
commit c51d789ad4
5 changed files with 13 additions and 10 deletions

View file

@ -41,6 +41,7 @@ class MainIndex(View):
class LinkDetails(View):
def get(self, request, path):
# missing trailing slash -> redirect to index
if '/' not in path: