method

endpoint

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

Method deprecated or moved

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

endpoint()
private

No documentation available.

# File actionpack/lib/action_dispatch/routing/mapper.rb, line 291
          def endpoint
            to.respond_to?(:call) ? to : dispatcher
          end