From e0511743b160e4e3c1e2a433bb565d0003b3f821 Mon Sep 17 00:00:00 2001 From: Sijawusz Pur Rahnama Date: Sun, 12 Mar 2017 17:40:30 +0100 Subject: [PATCH] Add getters to Route#{path,method} (#332) --- src/kemal/route.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kemal/route.cr b/src/kemal/route.cr index defb357..8703f0d 100644 --- a/src/kemal/route.cr +++ b/src/kemal/route.cr @@ -3,7 +3,7 @@ module Kemal # It takes 3 parameters: Method, path and a block to specify # what action to be done if the route is matched. class Route - getter handler + getter method, path, handler @handler : HTTP::Server::Context -> String @method : String