class ActionDispatch::Routing::RouteSet

Public Instance Methods

draw_with_lolita(*args,&block) click to toggle source

Each time when draw method is called this is called as well. It creates :left_side_navigation tree and call callbacks Lolita#before_routes_loaded and Lolita#after_routes_loaded

# File lib/lolita/rails/routes.rb, line 8
def draw_with_lolita  *args,&block
  Lolita.run(:before_routes_loaded)
  draw_without_lolita *args,&block
  Lolita.run(:after_routes_loaded)
end