method

resource_scope

Importance_0
v3.1.0 - Show latest stable - 0 notes - Class: ActionDispatch::Routing::Mapper::Resources
resource_scope(resource) protected

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/mapper.rb, line 1383
          def resource_scope(resource) #:nodoc:
            with_scope_level(resource.is_a?(SingletonResource) ? :resource : :resources, resource) do
              scope(parent_resource.resource_scope) do
                yield
              end
            end
          end
Register or log in to add new notes.