Flowdock
method

collect_routes

Importance_0
Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: RoutesInspector
collect_routes(routes) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/routing/inspector.rb, line 121
      def collect_routes(routes)
        routes.collect do |route|
          RouteWrapper.new(route)
        end.reject do |route|
          route.internal?
        end.collect do |route|
          collect_engine_routes(route)

          { name:   route.name,
            verb:   route.verb,
            path:   route.path,
            reqs:   route.reqs,
            regexp: route.json_regexp }
        end
      end
Register or log in to add new notes.