Skip to content
Snippets Groups Projects
Commit 13878a5b authored by VladimirCherkasov's avatar VladimirCherkasov
Browse files

minor fix in bootstrap.php

parent c81f6d30
Branches
Tags
No related merge requests found
......@@ -275,7 +275,7 @@ Route::set('admin:common', 'admin(/<controller>(/<action>(/<param1>(:<param2>)))
'action' => 'index'
]);
Route::set('support:image', 'support/image(/<action>)/<id>')//, ['id' => '[0-9]+'])
Route::set('support:image', 'support/image(/<action>)/<id>', ['id' => '[0-9]+'])
->defaults([
'directory' => 'Support',
'controller' => 'Image',
......
......@@ -11,7 +11,12 @@
<td>{{ ind }} </td>
<td>{{ req.ID }}</td>
<td>{{ req.Title }}</td>
<td>{{ req.Status}}</td>
<td>{{ req.Status }}</td>
<td>
{% if req.IsImage == '1' %}
<img src="{{ [URL.site("support/image/preview"), req.ID]|join('/') }}">
{% endif %}
</td>
</tr>
{% endfor %}
</table>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment