defunkt/resque — pull request #653 by basgys (2012-08-22 21:25:38+00:00)
Title: Really (really?) fix tab highlight

**Problem**
A bug occur when two tabs begin with the same letters and the longest one is selected.

For instance :
* **test**
* **test_bug** (current)
* another

test and test_bug are both highlighted.

**Solution**
To solve this problem I created a new method called **current_subtab** and now **class_if_current** checks if current path is equal to the current section or the current subtab.