module Spider
    
    class SpiderController < Controller
        
        def self.route_app(app)
            Spider::Logger.debug("ROUTING APP #{app.name}")
            app_path = app.name.gsub('::', '/')
            route(app_path, app.controller, :ignore_case => true)
        end        
                
    end
    
    
end
module Spider
    
    class SpiderController < Controller
        
        def self.route_app(app)
            #app_path = app.name.gsub('::', '/')
            app_path = app.route_url
            Spider::Logger.debug("ROUTING #{app_path} TO #{app.controller}")
            route(app_path, app.controller, :ignore_case => true)
        end
                
    end
    
    
end
Use app.route_url for routing app (defaults to underscore of app name)
Use app.route_url for routing app (defaults to underscore of app name)
