This is the template code for a category_view in RM.
Maybe someone tell me, please where the
xfrm_category_view is used in
From where xf knows that "categories" should be translated with "categories/example-category.1"?
Code:
<xf:pageaction if="$category.canAddResource()">
<xf:button href="{{ link('resources/categories/add', $category) }}"
class="button--cta" icon="write">{{ phrase('xfrm_add_resource') }}</xf:button>
</xf:pageaction>
Maybe someone tell me, please where the
{{ link('resources/categories/add', $category) }}
is translated in something like /index.php?resources/categories/example-category.1/add
?xfrm_category_view is used in
src\addons\XFRM\Pub\Controller\Category.php
, but there is nothing about that link?From where xf knows that "categories" should be translated with "categories/example-category.1"?