Skip to content

Commit

Permalink
Add remote template controller to get a template
Browse files Browse the repository at this point in the history
Fix controller
  • Loading branch information
Loenix committed Apr 20, 2020
1 parent 7ff8f63 commit 64cafad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Rest/Controller/TemplateController.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class TemplateController extends RestController {
* @throws ForbiddenException
*/
public function run($request) {
$templateKey = $request->getInputValue('key');
$templateKey = $request->getPathValue('key');

$templateConfig = $this->getTemplateConfig();
if( $templateConfig[$templateKey] ) {
Expand Down

0 comments on commit 64cafad

Please sign in to comment.