We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a3b3fa commit fc26509Copy full SHA for fc26509
lib/resque/server.rb
@@ -33,7 +33,7 @@ def path_prefix
33
end
34
35
def class_if_current(path = '')
36
- 'class="current"' if current_page.start_with?(path.to_s)
+ 'class="current"' if current_page[0, path.size] == path
37
38
39
def tab(name)
0 commit comments