* DEV: uses with private API for currentPath router.currentRouteName as a slightly different API and application.currentPath is deprecated * another fix
15 lines
418 B
Handlebars
15 lines
418 B
Handlebars
<section class='user-secondary-navigation'>
|
|
{{#mobile-nav class='activity-nav' desktopClass='action-list activity-list nav-stacked' currentPath=router._router.currentPath}}
|
|
{{#each tabs as |tab|}}
|
|
<li>
|
|
{{#link-to tab.route model.name}}
|
|
{{i18n tab.title}}
|
|
{{/link-to}}
|
|
</li>
|
|
{{/each}}
|
|
{{/mobile-nav}}
|
|
</section>
|
|
<section class="user-content">
|
|
{{outlet}}
|
|
</section>
|