Modified URLS from "sandwich" to "sandwiches"
authorKriti Godey <kriti.godey@gmail.com>
Thu, 4 Mar 2010 18:31:58 +0000 (13:31 -0500)
committerKriti Godey <kriti.godey@gmail.com>
Thu, 4 Mar 2010 18:31:58 +0000 (13:31 -0500)
urls.py

diff --git a/urls.py b/urls.py
index 1d2f6f7..091db55 100644 (file)
--- a/urls.py
+++ b/urls.py
@@ -3,12 +3,12 @@ import views
 from django.shortcuts import render_to_response
 
 urlpatterns = patterns('',
-       (r'^sandwich/add/$', views.add_sandwich),
+       (r'^sandwiches/add/$', views.add_sandwich),
        (r'^login/$', views.login_view),
        (r'^newuser/$', views.create_user),
-       (r'^sandwich/addingredient/$', views.add_ingredient),
-       (r'^sandwich/all/$', views.all_sandwich),
-       (r'^sandwich/new/$', views.newsandwiches),
-       (r'^sandwich/(?P<slug>[-\w]+)/$', views.specific_sandwich),
-       (r'^sandwich/(?P<year>[-\w]+)/(?P<month>[-\w]+)/$', views.sandwich_month),
+       (r'^sandwiches/addingredient/$', views.add_ingredient),
+       (r'^sandwiches/all/$', views.all_sandwich),
+       (r'^sandwiches/new/$', views.newsandwiches),
+       (r'^sandwiches/(?P<slug>[-\w]+)/$', views.specific_sandwich),
+       (r'^sandwiches/(?P<year>[-\w]+)/(?P<month>[-\w]+)/$', views.sandwich_month),
 )