Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Refactor route submodule names
Browse files Browse the repository at this point in the history
  • Loading branch information
0rzech committed Apr 12, 2024
1 parent 7a3f022 commit c91defe
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
File renamed without changes.
8 changes: 4 additions & 4 deletions src/routes/admin/password/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
mod action;
mod form;
mod get;
mod post;

pub(super) use action::change_password;
pub(super) use form::change_password_form;
pub(super) use get::change_password_form;
pub(super) use post::change_password;
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions src/routes/login/mod.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
use crate::app_state::AppState;
use action::login;
use axum::{
routing::{get, post},
Router,
};
use form::login_form;
use get::login_form;
use post::login;

mod action;
mod form;
mod get;
mod post;

pub fn router() -> Router<AppState> {
Router::new()
Expand Down
File renamed without changes.

0 comments on commit c91defe

Please sign in to comment.