Skip to content

Commit

Permalink
Merge pull request #29 from andela/ch-redirectroot-to-swagger-165812173
Browse files Browse the repository at this point in the history
#165812173 Redirect application root URL to swagger documentation
  • Loading branch information
Oluwagbenga Joloko committed May 6, 2019
2 parents dbe7d80 + 5b3807f commit d93c39f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions authors/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
authurls = include(('authors.apps.authentication.urls',
'authentication'), namespace='authentication')
profileurls = include(('authors.apps.profiles.urls',
'profiles'), namespace='profile')
'profiles'), namespace='profile')
urlpatterns = [
path('admin/', admin.site.urls),
url(r'^api/', authurls),
url(r'^api/swagger/$', schema_view),
path('', schema_view),
path('api/', profileurls),
]

0 comments on commit d93c39f

Please sign in to comment.