Commit 89d4507d authored by Santino Campos's avatar Santino Campos

Add urls for the hero details pages

parent 4aa29aa9
...@@ -2,6 +2,13 @@ ...@@ -2,6 +2,13 @@
from django.conf.urls import url from django.conf.urls import url
from .views import homepage from .views import homepage
from .views import details_sunflowey
from .views import details_jester
from .views import details_cloud
urlpatterns = [ urlpatterns = [
url(r'^heroes', homepage, name='homepage'), url(r'^heroes', homepage, name='homepage'),
url(r'^hero/sunflowey', details_sunflowey, name='homepage'),
url(r'^hero/jester', details_jester, name='homepage'),
url(r'^hero/cloud', details_cloud, name='homepage'),
] ]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment