Fix a typo~
This commit is contained in:
parent
80ba54e4ef
commit
4434b9d7d4
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ There's some "middleware" here (`src/users/middleware.rs`) that makes it easy to
|
||||||
|
|
||||||
``` rust
|
``` rust
|
||||||
use users::middleware::UserAuthentication;
|
use users::middleware::UserAuthentication;
|
||||||
use utils::responses::{FutureHttpResponse, future_redirect};
|
use utils::responses::{FutureResponse, future_redirect};
|
||||||
|
|
||||||
fn view(request: HttpRequest) -> FutureResponse {
|
fn view(request: HttpRequest) -> FutureResponse {
|
||||||
// Check the session is valid, without a database hit to load the user
|
// Check the session is valid, without a database hit to load the user
|
||||||
|
|
|
||||||
Reference in a new issue