Skip to content

Commit

Permalink
Non-empty words only in API.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfred committed Sep 21, 2014
1 parent d76355c commit 7417694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion urls.py
Expand Up @@ -13,7 +13,7 @@
)

urlpatterns += patterns('api.views',
url(u'^api/v1/vorto/(?P<word>.*)$', 'view_word', name="api_view_word"),
url(u'^api/v1/vorto/(?P<word>.+)$', 'view_word', name="api_view_word"),
)

if settings.DEBUG:
Expand Down

0 comments on commit 7417694

Please sign in to comment.