From 280c8d87f8f1db713050324b5afd35556a71483b Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Mon, 2 Apr 2018 11:18:31 -0700 Subject: [PATCH] expose ResourceType --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 6f202ebbd..6d544d822 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -180,7 +180,7 @@ pub mod dev { pub use info::ConnectionInfo; pub use handler::{Handler, Reply, FromRequest}; pub use route::Route; - pub use router::{Router, Resource}; + pub use router::{Router, Resource, ResourceType}; pub use resource::ResourceHandler; pub use param::{FromParam, Params}; pub use httpmessage::{UrlEncoded, MessageBody};