method

resource_scope

rails latest stable - Class: ActionDispatch::Routing::Mapper::Resources

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.0.2) is shown here.

resource_scope(kind, resource)
protected

No documentation available.

# File actionpack/lib/action_dispatch/routing/mapper.rb, line 1546
          def resource_scope(kind, resource) #:nodoc:
            with_scope_level(kind, resource) do
              scope(parent_resource.resource_scope) do
                yield
              end
            end
          end