Sha256: c1504d91cec643e367e2c8fdabcfafbb0ac19144408527a3182ac5901b6ec992
Contents?: true
Size: 487 Bytes
Versions: 11
Compression:
Stored size: 487 Bytes
Contents
# module ActionDispatch # module Routing # class Mapper # class Mapping # def route_uses_slash_and_no_hash? # @options[:to].is_a?(String) && # @options[:to].index('#').nil? && # @options[:to].index('/') # end # def to # if route_uses_slash_and_no_hash? # @options[:to].sub('/','#') # else # @options[:to] # end # end # end # end # end # end
Version data entries
11 entries across 11 versions & 1 rubygems