What to return in controller |
Hello.
I would like to ask, what to return in controller if I am expecting XMLHttpRequest but request is not XMLHttpRequest. I have something like this: Code: public function show_post($id) Is it good to return false or return other value? Thank you. |
Messages In This Thread |
What to return in controller - by romankubis - 10-18-2017, 12:39 AM
RE: What to return in controller - by dave friend - 10-18-2017, 07:48 AM
RE: What to return in controller - by romankubis - 10-18-2017, 09:20 AM
|