summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/figments/urls.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/figments/urls.py b/app/figments/urls.py
index 1bc02a0..4a37cf5 100644
--- a/app/figments/urls.py
+++ b/app/figments/urls.py
@@ -21,6 +21,11 @@ urlpatterns = [
name="detail-txt"
),
url(
+ r'(?P<slug>[-\w]+).amp$',
+ views.FigmentDetailViewAMP.as_view(),
+ name="detail-amp"
+ ),
+ url(
r'(?P<slug>[-\w]+)$',
views.FigmentDetailView.as_view(),
name='detail'