Rename front to views
This commit is contained in:
parent
4b7cb4ad1e
commit
1197fe687b
5 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
use actix_web::{get, Responder, web, HttpResponse};
|
||||
use yew::ServerRenderer;
|
||||
|
||||
use crate::front::components::hello::{Hello, HelloProps};
|
||||
use crate::views::components::hello::{Hello, HelloProps};
|
||||
|
||||
#[get("/{name}")]
|
||||
async fn index(name: web::Path<String>) -> impl Responder {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
pub(self) mod controllers;
|
||||
pub(self) mod front;
|
||||
pub(self) mod views;
|
||||
|
||||
use actix_web::{App, HttpServer, web};
|
||||
|
||||
|
|
Loading…
Reference in a new issue