Sha256: 715263fb86e4a9aa050136a48e319d877273d4b43ff719de189bc9d48bb8ae0b
Contents?: true
Size: 293 Bytes
Versions: 11
Compression:
Stored size: 293 Bytes
Contents
module NavigationHelpers def path_to(page_name) case page_name when "the new album page" '/albums/new' else raise "Can't find mapping from \"#{page_name}\" to a path.\n" + "Now, go and add a mapping in #{__FILE__}" end end end World(NavigationHelpers)
Version data entries
11 entries across 11 versions & 1 rubygems