Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add that controller actions are supported for Ajax #82

Open
DaWolfey opened this issue Jan 24, 2020 · 1 comment
Open

Add that controller actions are supported for Ajax #82

DaWolfey opened this issue Jan 24, 2020 · 1 comment

Comments

@DaWolfey
Copy link

I discovered that you can use a controller@action with ajax::listen, this is not documented. Note that you have to specify the full namespace - \App\Http\Controllers\Controller@Action

@jlambe
Copy link
Contributor

jlambe commented Jan 28, 2020

@DaWolfey That's correct, and this syntax works on the Page, Ajax, Action and Filter APIs 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants