forked from projects/file-explorer
fix bug
This commit is contained in:
parent
0e1c32a7d4
commit
05657f9e91
@ -1,7 +1,7 @@
|
||||
{% if file.name == '..' %}
|
||||
{% set link = routing_service.goBack(app.request) %}
|
||||
{% else %}
|
||||
{% set link = path('app_home', {dirs: app.request.attributes.get('dirs') ~ '/' ~ file.name}) %}
|
||||
{% set link = path('app_home', {dirs: app.request.attributes.get('dirs', '/') ~ file.name ~ '/'}) %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user