mirror of
https://github.com/moparisthebest/wallabag
synced 2024-11-15 13:45:04 -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
|
||||
return $app['twig']->render('add.twig', array('form' => $form->createView()));
|
||||
});
|
||||
})
|
||||
->bind('add');
|
||||
|
||||
return $front;
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
</div>
|
||||
{% endfor %}
|
||||
<p><a href="index.php/add">{{ 'entry.add'|trans }}</a></p>
|
||||
<p><a href="{{ path('add') }}">{{ 'entry.add'|trans }}</a></p>
|
||||
|
||||
{% endif %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user