mirror of
https://github.com/moparisthebest/wallabag
synced 2024-12-18 13:42:17 -05:00
[fix] link for add page
This commit is contained in:
parent
bee952c687
commit
4ee4bbaf44
@ -38,6 +38,7 @@ $front->match('/add', function (Request $request) use ($app) {
|
|||||||
|
|
||||||
// display the form
|
// display the form
|
||||||
return $app['twig']->render('add.twig', array('form' => $form->createView()));
|
return $app['twig']->render('add.twig', array('form' => $form->createView()));
|
||||||
});
|
})
|
||||||
|
->bind('add');
|
||||||
|
|
||||||
return $front;
|
return $front;
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<p><a href="index.php/add">{{ 'entry.add'|trans }}</a></p>
|
<p><a href="{{ path('add') }}">{{ 'entry.add'|trans }}</a></p>
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user