app/models/menu_item.rb in lolita-menu-0.0.9 vs app/models/menu_item.rb in lolita-menu-0.0.10
- old
+ new
@@ -33,10 +33,10 @@
active_item = self_and_all_children.detect{|item|
item.url_match?(request,options[:fullpath])
}
!!active_item
- endg
+ end
def url_match?(request,fullpath=false)
if self.url.match(/^http/)
self.url==request.url