annotation ActionController::Route::OPTIONS
Overview
define a new route that responds to "OPTIONS" requests
@[AC::Route::"OPTIONS"("/my/route/:name")]
def my_route_name(name : String) : String
name
end
define a new route that responds to "OPTIONS" requests
@[AC::Route::"OPTIONS"("/my/route/:name")]
def my_route_name(name : String) : String
name
end