module Jewel

Defined in:

benchmark.cr

Constant Summary

ROUTES = {"/get/" => :root, "/get/users/:id" => :users, "/get/users/:id/books" => :users_books, "/get/books/:id" => :books, "/get/books/:id/chapters" => :book_chapters, "/get/books/:id/authors" => :book_authors, "/get/books/:id/pictures" => :book_pictures, "/get/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z" => :alphabet, "/get/var/:b/:c/:d/:e/:f/:g/:h/:i/:j/:k/:l/:m/:n/:o/:p/:q/:r/:s/:t/:u/:v/:w/:x/:y/:z" => :variable_alphabet, "/get/foobarbizfoobarbizfoobarbizfoobarbizfoobarbizbat/:id" => :foobar_bat, "/get/foobarbizfoobarbizfoobarbizfoobarbizfoobarbizbom/:id" => :foobar_bom} of Nil => Nil

Macro Summary

Macro Detail

macro routes(path, body) #

[View source]