Created new page do display single ship and linked this from homepage with names routes.
This commit is contained in:
@@ -2,4 +2,8 @@
|
||||
|
||||
{% block body %}
|
||||
{{ variable }}
|
||||
|
||||
<a href="{{ path('app_starship_show', {'id' : 1}) }}">Ship 01</a>
|
||||
<a href="{{ path('app_starship_show', {'id' : 2}) }}">Ship 02</a>
|
||||
<a href="{{ path('app_starship_show', {'id' : 3}) }}">Ship 03 (not found)</a>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user