method

supports_path?

supports_path?()
public

Returns true if the given controller is capable of rendering a path. A subclass of +AbstractController::Base+ may return false. An Email controller for example does not support paths, only full URLs.