Take the following route:
@resource 'settings', path: '/settings', -> @route 'alerts'
and the following link:
{{#linkTo settings.index}}Settings{{/linkTo}}
Is there a specific way in Ember to make sure the link is above .active while I'm on the settings.* Path?
.active
settings.*
I am sure that if you use instead:
{{#linkTo "settings"}}Settings{{/linkTo}}
it will remain active while you are within the settings.* route settings.* . The above link will in any case be routed to settings.index .
settings.index
Source: https://habr.com/ru/post/1484465/More articles:One-click photo with one click in PhoneGap - cordovaCan I scale to two Highcharts charts? - javascriptPHPUnit testing individually in Symfony - phpunitInsert or update MYSQL if exists in a one-way composite primary key table - phpPython interactive client / server with Twisted - pythonRunning unit tests for typescript in VS - unit-testingC2556: overloaded function differs only in return type - c ++ASP.NET MVC: saving multiple values ββin autocomplete - mysqlIs it possible to set null for an instance of a class inside a class - javacan't override inline style! important property? - overrideAll Articles