themosis / documentation

Official documentation of the Themosis framework.
http://framework.themosis.com/
52 stars 37 forks source link

Add that controller actions are supported for Ajax #82

Open DaWolfey opened 4 years ago

DaWolfey commented 4 years ago

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 commented 4 years ago

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