Use url generator everywhere

This commit is contained in:
Romain Neutron
2013-06-11 18:29:40 +02:00
parent 2302efc7e3
commit 4161ef2e31
230 changed files with 1360 additions and 18277 deletions

View File

@@ -28,7 +28,7 @@
</div>
</div>
<form class="main_form" method="post" action="/prod/feeds/entry/create/">
<form class="main_form" method="post" action="{{ path('prod_feeds_entry_create') }}">
<input type="hidden" name="lst" value="{{ publishing.serializedList() }}" />
<div class="PNB" style="top:200px; bottom:50px;">
<div class="PNB" style="width:50%; right:auto;">

View File

@@ -26,7 +26,7 @@
{% endfor %}
</div>
</div>
<form method="post" action="/prod/feeds/entry/{{ entry.get_id() }}/update/" class="entry_update main_form">
<form method="post" action="{{ path('prod_feeds_entry_update', { 'id' : entry.get_id() }) }}" class="entry_update main_form">
<input type="hidden" name="sorted_lst" value="" />
<div class="PNB" style="top:200px;bottom:50px;">
<div class="PNB" style="width:50%;right:auto;">