DEV: Add parameter to plugin outlet (#37)
This adds a parameters to the args hash of the before-docs-search plugin outlet so we can access tags via theme components using this outlet.
This commit is contained in:
parent
c7376c243d
commit
f61de2d871
|
@ -1,5 +1,5 @@
|
||||||
<div class="docs">
|
<div class="docs">
|
||||||
{{plugin-outlet name="before-docs-search" args=(hash selectCategory=(action "updateSelectedCategories"))}}
|
{{plugin-outlet name="before-docs-search" args=(hash selectCategory=(action "updateSelectedCategories") tags=indexController.tags )}}
|
||||||
{{docs-search
|
{{docs-search
|
||||||
searchTerm=(readonly indexController.searchTerm)
|
searchTerm=(readonly indexController.searchTerm)
|
||||||
onSearch=(action "performSearch")
|
onSearch=(action "performSearch")
|
||||||
|
|
Loading…
Reference in New Issue