Sha256: 0f311503d91b9c795bd2d3888c3c61c083da260ba4d732d19c31f1aea90698d1
Contents?: true
Size: 341 Bytes
Versions: 79
Compression:
Stored size: 341 Bytes
Contents
class Jets::Router::MethodCreator class Show < Code def meth_name path_items = @path.to_s.split('/') if method_name_leaf && path_items.size != 2 nil # fallback: do not define url method else # comes from resources join(singularize(full_as), singularize(method_name_leaf)) end end end end
Version data entries
79 entries across 79 versions & 2 rubygems