method

new_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 (v3.0.0) is shown here.

new_scope()
protected

No documentation available.

# File actionpack/lib/action_dispatch/routing/mapper.rb, line 819
          def new_scope
            with_scope_level(:new) do
              scope(parent_resource.new_scope(action_path(:new))) do
                yield
              end
            end
          end