mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 06:11:07 -05:00
update urls mainly, fix domain.com/rides to work still needs done, filtering
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
class="px-8 py-3 text-lg btn-primary">
|
||||
Explore Parks
|
||||
</a>
|
||||
<a href="{% url 'rides:ride_list' %}"
|
||||
<a href="{% url 'parks:all_rides' %}"
|
||||
class="px-8 py-3 text-lg btn-secondary">
|
||||
View Rides
|
||||
</a>
|
||||
@@ -93,7 +93,7 @@
|
||||
Popular Rides
|
||||
</h2>
|
||||
{% for ride in popular_rides %}
|
||||
<a href="{% url 'rides:ride_detail' ride.park.slug ride.slug %}"
|
||||
<a href="{% url 'parks:rides:ride_detail' ride.park.slug ride.slug %}"
|
||||
class="block p-4 mb-4 transition-all rounded-lg hover:bg-gray-50 dark:hover:bg-gray-700 hover:translate-x-2">
|
||||
<div class="text-lg font-semibold text-blue-600 dark:text-blue-400">
|
||||
{{ ride.name }}
|
||||
|
||||
Reference in New Issue
Block a user