Skip to content

Commit 69cde2a

Browse files
gravisdefunkt
authored andcommitted
Web bugfix: really Fix tab highlight for plugins
1 parent 917a284 commit 69cde2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/resque/server.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def path_prefix
3333
end
3434

3535
def class_if_current(path = '')
36-
'class="current"' if current_page.include?(path.to_s)
36+
'class="current"' if current_page.start_with?(path.to_s)
3737
end
3838

3939
def tab(name)

0 commit comments

Comments
 (0)