mirror of
https://github.com/Mercantec-GHC/h4-projekt-gruppe-0-sm.git
synced 2025-04-27 16:24:07 +02:00
move controllers.h into controllers/
This commit is contained in:
parent
944e597cb8
commit
f449216e2a
@ -1,6 +1,6 @@
|
||||
#include "../controllers.h"
|
||||
#include "../models_json.h"
|
||||
#include "../str_util.h"
|
||||
#include "controllers.h"
|
||||
|
||||
void route_get_cart_items_from_session(HttpCtx* ctx)
|
||||
{
|
||||
|
@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "db.h"
|
||||
#include "http/http.h"
|
||||
#include "../db.h"
|
||||
#include "../http/http.h"
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "../controllers.h"
|
||||
#include "../http/http.h"
|
||||
#include "../models_json.h"
|
||||
#include "controllers.h"
|
||||
|
||||
void route_get_index(HttpCtx* ctx)
|
||||
{
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include "../controllers.h"
|
||||
#include "../http/http.h"
|
||||
#include "../models_json.h"
|
||||
#include "../str_util.h"
|
||||
#include "controllers.h"
|
||||
|
||||
void route_get_products_all(HttpCtx* ctx)
|
||||
{
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include "../controllers.h"
|
||||
#include "../http/http.h"
|
||||
#include "../models_json.h"
|
||||
#include "../str_util.h"
|
||||
#include "controllers.h"
|
||||
#include <string.h>
|
||||
|
||||
void route_post_sessions_login(HttpCtx* ctx)
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include "../controllers.h"
|
||||
#include "../http/http.h"
|
||||
#include "../models_json.h"
|
||||
#include "../str_util.h"
|
||||
#include "controllers.h"
|
||||
#include <string.h>
|
||||
|
||||
void route_post_users_register(HttpCtx* ctx)
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "controllers.h"
|
||||
#include "controllers/controllers.h"
|
||||
#include "db_sqlite.h"
|
||||
#include "http/http.h"
|
||||
#include "json.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user