fixed typo

This commit is contained in:
Nako Sung 2015-01-02 11:54:30 +09:00
parent dc477a2df1
commit 067f60cefa

View File

@ -10,11 +10,11 @@ class ExampleLogHandler : public crow::ILogHandler {
}
};
struct ExampleMiddelware
struct ExampleMiddleware
{
std::string message;
ExampleMiddelware()
ExampleMiddleware()
{
message = "foo";
}
@ -41,9 +41,9 @@ struct ExampleMiddelware
int main()
{
crow::App<ExampleMiddelware> app;
crow::App<ExampleMiddleware> app;
app.get_middleware<ExampleMiddelware>().setMessage("hello");
app.get_middleware<ExampleMiddleware>().setMessage("hello");
CROW_ROUTE(app, "/")
.name("hello")