app/controllers/token_action/tokens_controller.rb
# Returns whether a path is routable.
#
# @param [String] path a path
# @return [Boolean] whether the path is routable
Returns whether a path is routable.
Returns whether a path is routable .
def routable?(path)
      !!Rails.application.routes.recognize_path(path, method: :get)
    rescue ActionController::RoutingError
      false
    end
def routable? ( path ) ! ! Rails . application . routes . recognize_path ( path , method : :get ) rescue ActionController :: RoutingError false end
Returns whether a path is routable.
Returns whether a path is routable .
whether the path is routable
whether the path is routable
Boolean
path
<not_specific>
<not_specific>
path a path
path a path