aboutsummaryrefslogtreecommitdiff
path: root/examples/tutorial01/polls/views.rs
blob: 4859cec41b7faa4f4152e383f88784cae308a322 (plain)
1
2
3
4
5
use tosin::http::{Reply, Response};

pub fn index() -> Response {
    "Hello, world. You're at the polls index.".into_response()
}