Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 55d9527

Browse files
Make a upload file route
1 parent 22563cc commit 55d9527

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎Router/Router.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
// If you use SPACE in the url, it should convert the space to -, /home-index
66
$router->get('/home index', 'home@index');
77

8+
$router->post('/upload', 'home@uploadImage');
9+
810
$router->post('/home', 'home@post');
911

1012
$router->get('/', function() {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /