instance method in_memory_controller_namespaces

Ruby on Rails 3.0.20

Since v3.0.20 Last seen in v3.0.20

Signature

in_memory_controller_namespaces()

No documentation comment.

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

Defined in actionpack/lib/action_dispatch/routing/deprecated_mapper.rb line 21 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionDispatch::Routing::RouteSet

Type at least 2 characters to search.

↑↓ navigate · open · esc close