lib/resque/server.rb in resque-1.5.2 vs lib/resque/server.rb in resque-1.6.0

- old
+ new

@@ -31,10 +31,10 @@ def path_prefix request.env['SCRIPT_NAME'] end def class_if_current(path = '') - 'class="current"' if current_page.start_with?(path.to_s) + 'class="current"' if current_page[0, path.size] == path end def tab(name) dname = name.to_s.downcase path = url(dname)