Skip to content

Commit 017010a

Browse files
committed
finished up for new release🔥🔥👌
1 parent 1431de2 commit 017010a

File tree

9 files changed

+2
-262
lines changed

9 files changed

+2
-262
lines changed

.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
APP_NAME="Leaf MVC"
1+
APP_NAME=LeafMVC
22
APP_ENV=local
33
APP_KEY=base64:AUAyDriQD1kFdIbwTHlnCm2pYn+qxDBa55SFwB9PUzg=
44
APP_DEBUG=true
@@ -7,7 +7,7 @@ APP_URL=http://localhost
77
DB_CONNECTION=mysql
88
DB_HOST=127.0.0.1
99
DB_PORT=3306
10-
DB_DATABASE=mvc
10+
DB_DATABASE=LeafMVC
1111
DB_USERNAME=root
1212
DB_PASSWORD=
1313

app/controllers/PostsController.php

Lines changed: 0 additions & 100 deletions
This file was deleted.

app/models/Post.php

Lines changed: 0 additions & 19 deletions
This file was deleted.

app/routes/web.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,4 @@
1818

1919
$leaf->get('/', 'PagesController@index');
2020

21-
$leaf->get('/posts', 'PostsController@index');
22-
$leaf->post('/posts', 'PostsController@store');
23-
$leaf->get('/posts/create', 'PostsController@create');
24-
$leaf->get('/posts/{post}/edit', 'PostsController@edit');
25-
$leaf->match('PUT|PATCH|POST', '/posts/{post}', 'PostsController@update');
26-
$leaf->get('/posts/delete/{post}', 'PostsController@destroy');
27-
$leaf->get('/posts/{post}', 'PostsController@show');
28-
// $leaf->delete('/posts/{post}', 'PostsController@destroy');
29-
3021
$leaf->run();

app/views/components/header.vein.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
<div class="collapse navbar-collapse" id="mobileNav">
1212
<ul class="nav navbar-nav">
1313
<li class="active"><a href="/" class="navbar-brand" style="font-size: 16px;">Home</a></li>
14-
<li><a href="/posts" class="navbar-brand" style="font-size: 16px;">All Posts</a></li>
15-
<li><a href="/posts/create" class="navbar-brand" style="font-size: 16px;">New Post</a></li>
1614
</ul>
1715
</div>
1816
</div>

app/views/pages/posts/create.vein.php

Lines changed: 0 additions & 33 deletions
This file was deleted.

app/views/pages/posts/edit.vein.php

Lines changed: 0 additions & 33 deletions
This file was deleted.

app/views/pages/posts/index.vein.php

Lines changed: 0 additions & 33 deletions
This file was deleted.

app/views/pages/posts/show.vein.php

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)