Sha256: b1c6782e0c7a0295fb2aa2eddce8c9293572c1e50a2efd12aa20283cec49a4bd
Contents?: true
Size: 211 Bytes
Versions: 36
Compression:
Stored size: 211 Bytes
Contents
def path_to(page_name) case page_name when /the homepage/i root_path # Add more page name => path mappings here else raise "Can't find mapping from \"#{page_name}\" to a path." end end
Version data entries
36 entries across 36 versions & 4 rubygems