Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ross I Kinsey
where
Commits
c21f4dda
Commit
c21f4dda
authored
Feb 24, 2020
by
axiiom
Browse files
missed one :)
parent
cada157d
Changes
1
Hide whitespace changes
Inline
Side-by-side
where/app.py
View file @
c21f4dda
...
...
@@ -105,13 +105,13 @@ def test_data(session):
return
redirect
(
'/'
)
@
app
.
route
(
'/category/<id>'
)
@
app
.
route
(
'/category/<
int:
id>'
)
@
with_session
def
get_category
(
session
,
id
):
return
get_resource
(
session
,
Category
,
id
)
@
app
.
route
(
'/category/<id>/children'
)
@
app
.
route
(
'/category/<
int:
id>/children'
)
@
with_session
def
get_category_children
(
data
,
session
,
id
):
data
=
dict
(
request
.
args
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment