# Bootstrap, active links and LIs

**URL:** https://discuss.emberjs.com/t/bootstrap-active-links-and-lis/5018
**Category:** Uncategorized
**Created:** [April 24, 2014, 2:01am UTC](https://discuss.emberjs.com/t/bootstrap-active-links-and-lis/5018 "2014-04-24T02:01:13Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![domchristie](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/domchristie/32/9490_2.png) [@domchristie](https://discuss.emberjs.com/u/domchristie)
#### Post date: [April 24, 2014, 7:24am UTC](https://discuss.emberjs.com/t/bootstrap-active-links-and-lis/5018/4 "2014-04-24T07:24:25Z")

</div>

Nice work. An almost identical solution to @mixonic’s [http://emberjs.jsbin.com/iFEvATE/2/edit](http://emberjs.jsbin.com/iFEvATE/2/edit), which adds a `currentWhen` property so that the behaviour can be customised (e.g. to apply an `active` class to a parent route link).

However I was scratching my head trying to get it to work with query params, so this looks ideal for that.

---

_[View the full topic](https://discuss.emberjs.com/t/bootstrap-active-links-and-lis/5018)._
