Log message #4192870

# At Username Text
# Jul 11th 2019, 22:10 ricksaccous so i did /edit/:company_id/:hospital_id/*
# Jul 11th 2019, 22:10 ricksaccous so i have two args that i need for sure and one optional
# Jul 11th 2019, 22:10 ricksaccous even if you do */* it does 3/3
# Jul 11th 2019, 22:10 ricksaccous for some reason * instead of being allowed to do whatever, it's translating to argument 0
# Jul 11th 2019, 22:09 ricksaccous yeah I got it working
# Jul 11th 2019, 22:08 ricksaccous heh
# Jul 11th 2019, 22:08 ricksaccous that matters
# Jul 11th 2019, 22:07 ricksaccous yeah
# Jul 11th 2019, 22:00 ricksaccous not sure if that matters
# Jul 11th 2019, 22:00 slackebot <ricksaccous>
# Jul 11th 2019, 21:59 challgren Ohh nm misunderstood
# Jul 11th 2019, 21:59 ricksaccous i just want /3/20
# Jul 11th 2019, 21:58 ricksaccous i don't want that though
# Jul 11th 2019, 21:58 challgren You need an ‘id’ => $hospitalEntity->id
# Jul 11th 2019, 21:57 slackebot <ricksaccous>
# Jul 11th 2019, 21:55 ricksaccous the second param is being treated like a get param even though i'm not specifying it as one
# Jul 11th 2019, 21:55 ricksaccous url
# Jul 11th 2019, 21:55 ricksaccous when i'm building a rul
# Jul 11th 2019, 20:14 ricksaccous i always just use $.ajax
# Jul 11th 2019, 20:14 ricksaccous yeah i'm not too familiar with fetch
# Jul 11th 2019, 20:14 yamcomnet body: JSON.stringify( { licenseType: 'license_type', quantity: 5 }),
# Jul 11th 2019, 20:14 yamcomnet and fetch:
# Jul 11th 2019, 20:14 yamcomnet thats how i read it
# Jul 11th 2019, 20:14 yamcomnet $jsonData = $this->request->input('json_decode');
# Jul 11th 2019, 20:13 yamcomnet almost crazy :)
# Jul 11th 2019, 20:13 yamcomnet i got it
# Jul 11th 2019, 19:29 ricksaccous @yamcomnet did you figure it out? lol
# Jul 11th 2019, 19:29 ricksaccous rather than $this->request->data
# Jul 11th 2019, 19:28 ricksaccous when you spit out $_POST
# Jul 11th 2019, 19:28 ricksaccous do you get anything
# Jul 11th 2019, 18:34 yamcomnet pls, help me out
# Jul 11th 2019, 18:34 yamcomnet drives me crazy..
# Jul 11th 2019, 18:34 yamcomnet ??
# Jul 11th 2019, 18:34 yamcomnet are empty. but i can see at fiddler that that data is being set correctly
# Jul 11th 2019, 18:34 yamcomnet for some reason: both debug($this->request->getData()); debug($this->request->data);
# Jul 11th 2019, 18:33 yamcomnet Sending request but cannot read DATA it at controller?
# Jul 11th 2019, 16:23 admad @neon1024 :tada:
# Jul 11th 2019, 14:31 slackebot and add the path there first.
# Jul 11th 2019, 14:31 jeremy.payne Checking to make sure I'm not re-inventing the wheel or making this unnecessarily complex. I building a multi-tenant app and want that, when rendering `Template/home.ctp`, if there is a `Template/Tenant/{id}/home.ctp`, it should use that instead. This should do the same for in views when rendering with `<?=$this->element()?>`. If overriding my project's `src\View\AppView` the way to go? Looks like I could hook into the `_paths()` method
# Jul 11th 2019, 13:54 neon1024 I didn’t find it unfortunatly, so I’ve resorted to changing the config value to have a skip config option which sets the state back to false and returns the query
# Jul 11th 2019, 13:21 admad @neon1024 all options