-
-
Save durka/3d949b88d9b85f540ff8258c48c1bb3c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #[get("/<date>/<flow>/<idx>", rank=1)] | |
| #[allow(unused_variables)] | |
| fn episode_login(uri: &URI, date: Datestamp, flow: Option<FlowType>, idx: u32) -> Redirect { | |
| Redirect::to(&format!("/login?redir={}", URI::percent_encode(uri.as_str()))) | |
| } | |
| #[get("/<date>/<flow>/<idx>")] | |
| fn episode(uri: &URI, user: User, date: Datestamp, flow: Option<FlowType>, idx: u32) -> Template { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment