Flowdock
method

in_memory_controller_namespaces

Importance_0
v3.0.5 - Show latest stable - 0 notes - Class: ActionDispatch::Routing::RouteSet
in_memory_controller_namespaces() public

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/deprecated_mapper.rb, line 21
      def in_memory_controller_namespaces
        namespaces = Set.new
        ActionController::Base.descendants.each do |klass|
          next if klass.anonymous?
          namespaces << klass.name.underscore.split('/')[0...-1].join('/')
        end
        namespaces.delete('')
        namespaces
      end
Register or log in to add new notes.