📝 Fix link
This commit is contained in:
parent
64ec767a5f
commit
d1bfb2a799
2 changed files with 3 additions and 3 deletions
|
|
@ -87,7 +87,7 @@
|
|||
//! static_locales!(LOCALES_SAMPLE in "path/to/locale");
|
||||
//! ```
|
||||
//!
|
||||
//! Usa el componente [L10n](crate::core::component::l10n::L10n) para incluir textos y contenidos
|
||||
//! Usa el componente [L10n](crate::core::component::L10n) para incluir textos y contenidos
|
||||
//! opcionalmente traducibles según el contexto de renderizado.
|
||||
|
||||
use crate::{config, kv, trace, LazyStatic};
|
||||
|
|
|
|||
|
|
@ -57,8 +57,8 @@ impl Redirect {
|
|||
}
|
||||
|
||||
/// Temporary redirection. Status Code **307**. Method and body not changed. The web page is
|
||||
/// temporarily unavailable for unforeseen reasons. Better than [`found()`](found) when non-GET
|
||||
/// operations are available on the site.
|
||||
/// temporarily unavailable for unforeseen reasons. Better than [`found()`](Self::found) when
|
||||
/// non-GET operations are available on the site.
|
||||
pub fn temporary(redirect_to_url: &str) -> HttpResponse {
|
||||
HttpResponse::TemporaryRedirect()
|
||||
.append_header(("Location", redirect_to_url))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue