Log message #4214210

# At Username Text
# Nov 19th, 16:01 neon1024 The `resources()` method only maps certain things
# Nov 19th, 16:01 noel via Postman
# Nov 19th, 16:01 jotpe maybe missing .json?
# Nov 19th, 16:01 neon1024 @noel Your assumption is wrong
# Nov 19th, 16:00 jotpe @noel how did you accessed the url?
# Nov 19th, 15:59 noel @jotpe yes
# Nov 19th, 15:59 jotpe @noel so index action works?
# Nov 19th, 15:56 pieceof rite
# Nov 19th, 15:56 jotpe @pieceof it's not a 403
# Nov 19th, 15:55 pieceof $this->auth->allow[......'clients'];
# Nov 19th, 15:54 slackebot convention would mean that any action in my controller would be mapped?
# Nov 19th, 15:54 noel Hi all. I have the following routes set up: ```Router::prefix('api', function (RouteBuilder $routes) { $routes->resources('Users'); })``` This maps the route `/api/users` correctly. I've then added an action to my UsersController like so: ```class UsersController extends BaseUsersController { public function clients() {} }``` However on the route `api/users/clients` it is giving me a 404 error. What am I missing? I thought that the
# Nov 19th, 15:51 jotpe Can I use $this->response->body with a callback?
# Nov 19th, 15:51 jotpe This is solved with Symfonys Response: https://gist.github.com/damijanc/c23d7358d298898c96d4d7b5eec0d616
# Nov 19th, 15:51 jotpe Hey guys. If I want to send a file created by PHPOffice\Spreadsheet without writing the file to disk, how can I achive this?
# Nov 19th, 14:47 shifat.it Great
# Nov 19th, 14:43 pieceof thx 4 the reference, now listenin
# Nov 19th, 14:38 neon1024 Plus Rector will be included in a new future release of the upgrade tool :point_right: https://github.com/cakephp/upgrade/tree/4.x
# Nov 19th, 14:37 neon1024 Lots of upgrades already supported :point_right: https://github.com/rectorphp/rector/tree/master/config/set/cakephp
# Nov 19th, 14:37 neon1024 Even support for Cake 4 is happening :point_right: https://github.com/rectorphp/rector/pull/2337
# Nov 19th, 14:35 shifat.it okay
# Nov 19th, 14:35 neon1024 https://github.com/rectorphp/rector
# Nov 19th, 14:34 neon1024 You could use Rector to do the upgrade automatically for you
# Nov 19th, 14:34 neon1024 They’re deprecated, but not removed. So you can stick with the old methods if you want to and are not interested in updating to 4.0 quickly
# Nov 19th, 14:33 neon1024 You want a reason which is more important than the friction to doing the work
# Nov 19th, 14:33 neon1024 Means, I don’t want to do all the work, why are they making me do this work?
# Nov 19th, 14:33 neon1024 > They did it for a reason...
# Nov 19th, 14:33 neon1024 What you’re really talking about
# Nov 19th, 14:30 shifat.it 1 keyword : Readable. I agree to this
# Nov 19th, 14:29 admad @pieceof meh, he still got nothing over the "27 club"
# Nov 19th, 14:29 pieceof you read code you dont know is its setting or getting, now its more readable
# Nov 19th, 14:29 shifat.it hmm. ..both
# Nov 19th, 14:29 pieceof do you know javascript/jquery ?
# Nov 19th, 14:28 shifat.it etc.
# Nov 19th, 14:28 shifat.it In terms of performance/coding
# Nov 19th, 14:28 shifat.it I was thinking about ... They did it for a reason...
# Nov 19th, 14:28 shifat.it please
# Nov 19th, 14:27 shifat.it stay relevant
# Nov 19th, 14:27 shifat.it seriously man ... it will help me to migrate 3.8 ...
# Nov 19th, 14:27 shifat.it :O
# Nov 19th, 14:26 pieceof jesus christ died at age 33