Sha256: a475dcbb77ab115f0c5e47a35cff02df43c8b7ac568d434c33f3c6cd97733589
Contents?: true
Size: 280 Bytes
Versions: 10
Compression:
Stored size: 280 Bytes
Contents
class Spontaneous::Site module URL extend Spontaneous::Concern module ClassMethods def public_url(path = "/") instance.public_url(path) end end def public_url(path = "/") "http://%s%s" % [ config.site_domain, path ] end end end
Version data entries
10 entries across 10 versions & 1 rubygems