Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
P
Project_Laravel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TTS Nguyen Huu Huan
Project_Laravel
Commits
eefe64ec
Commit
eefe64ec
authored
Sep 11, 2022
by
Trung Lê Đình
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
thay doi method cho ajax request
parent
5f2daa6d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
web.php
routes/web.php
+1
-1
No files found.
routes/web.php
View file @
eefe64ec
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
Route
::
middleware
([
'auth'
])
->
group
(
function
()
{
Route
::
middleware
([
'auth'
])
->
group
(
function
()
{
Route
::
resource
(
'posts'
,
PostController
::
class
);
Route
::
resource
(
'posts'
,
PostController
::
class
);
Route
::
prefix
(
'posts'
)
->
name
(
'posts.'
)
->
group
(
function
()
{
Route
::
prefix
(
'posts'
)
->
name
(
'posts.'
)
->
group
(
function
()
{
Route
::
pos
t
(
'ajax'
,
[
PostController
::
class
,
'ajax'
])
->
name
(
'ajax'
);
Route
::
ge
t
(
'ajax'
,
[
PostController
::
class
,
'ajax'
])
->
name
(
'ajax'
);
});
});
Route
::
get
(
'/home'
,
[
App\Http\Controllers\HomeController
::
class
,
'index'
])
->
name
(
'home'
);
Route
::
get
(
'/home'
,
[
App\Http\Controllers\HomeController
::
class
,
'index'
])
->
name
(
'home'
);
});
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment