Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13312663
D13838.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D13838.diff
View Options
diff --git a/src/applications/celerity/controller/CelerityPhabricatorResourceController.php b/src/applications/celerity/controller/CelerityPhabricatorResourceController.php
--- a/src/applications/celerity/controller/CelerityPhabricatorResourceController.php
+++ b/src/applications/celerity/controller/CelerityPhabricatorResourceController.php
@@ -17,14 +17,12 @@
return CelerityResourceMap::getNamedInstance($this->library);
}
- public function willProcessRequest(array $data) {
- $this->path = $data['path'];
- $this->hash = $data['hash'];
- $this->library = $data['library'];
- $this->postprocessorKey = idx($data, 'postprocessor');
- }
+ public function handleRequest(AphrontRequest $request) {
+ $this->path = $request->getURIData('path');
+ $this->hash = $request->getURIData('hash');
+ $this->library = $request->getURIData('library');
+ $this->postprocessorKey = $request->getURIData('postprocessor');
- public function processRequest() {
// Check that the resource library exists before trying to serve resources
// from it.
try {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jun 12, 6:52 AM (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6276259
Default Alt Text
D13838.diff (1 KB)
Attached To
Mode
D13838: Update Celerity for handleRequest
Attached
Detach File
Event Timeline
Log In to Comment