1
0
Fork 0

Rename front to views

This commit is contained in:
Florian RICHER (MrDev023) 2022-03-21 19:41:05 +01:00
parent 4b7cb4ad1e
commit 1197fe687b
5 changed files with 2 additions and 2 deletions

View file

@ -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 {

View file

@ -1,5 +1,5 @@
pub(self) mod controllers;
pub(self) mod front;
pub(self) mod views;
use actix_web::{App, HttpServer, web};