class

Azu::Router::Builder

Inherits Reference < Object

The Router::Builder class allows you to build routes more easily

routes :web, "/test" do
  get "/hello/", ExampleApp::HelloWorld
  get "/hello/:name", ExampleApp::HtmlEndpoint
  get "/hello/json", ExampleApp::JsonEndpoint
end

Constructors

new(router : Router, scope : String = "")
Source

Macros

method_missing(call)
Source