Fixed URLs of one-sandwich views. Fixed adding sandwiches.
[~kgodey/maayanwich.git] / templates / base.html
index 7b0eb1f..12d9efb 100644 (file)
@@ -21,7 +21,7 @@
                                <h3 class="navtitle">NEWEST</h3>
                                <ul class="newest">
                                        {% for s in sandwiches %}
-                                               <li>{{ s.adjective }}</li>
+                                               <li><a href="{{ s.get_absolute_url }}">{{ s.adjective }}</a></li>
                                        {% endfor %}
                                </ul>
                        </div>