Wednesday, 15 January 2014

Laravel routing Ajax hashtagged URL -



Laravel routing Ajax hashtagged URL -

i bought single page template ( smartadmin ) loads contents using ajax , alter url using pattern "/#ajax/file.html".

i surprised can navigate through without setting routes, , if set route doesn't work. illustration :

route::get('/#ajax/inbox.php', function() { homecoming view::make('test'); });

how should routing?

as mentioned in comment, can't grab portion of url after #.

more infos: can php read hash portion of url?

ajax laravel-4 hashtag laravel-routing

No comments:

Post a Comment