Se me olvido cambiar el nombre de id a el correspondiente
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<h4>Categories</h4>
|
||||
<div class="grid">
|
||||
{% for category in categories %}
|
||||
<a href="{{ url_for('categories.view', id=category.id) }}">{{ category.name }}</a>
|
||||
<a href="{{ url_for('categories.view', category_id=category.id) }}">{{ category.name }}</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<h4>{{ category.name }}</h4>
|
||||
<div class="grid">
|
||||
{% for file in files %}
|
||||
<a href="{{ url_for('files.preview_file', id=file.id) }}">{{ file.filename }}</a>
|
||||
<a href="{{ url_for('files.preview_file', file_id=file.id) }}">{{ file.filename }}</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user