cakephp-rest-plugin icon indicating copy to clipboard operation
cakephp-rest-plugin copied to clipboard

beforeRedirect() Issue?

Open kwentworth opened this issue 14 years ago • 0 comments

First, great work!

I was having some weird redirect issues on my public website after setting up your REST plugin. What fixed it was setting line 876 to return; (instead of return true;). The difference was that instead of /plugin/1 it actually redirected to /plugin/view/1.

Is the return true in there for a reason? If not, please accept my recommendation.

kwentworth avatar Apr 12 '11 04:04 kwentworth