Skip to content

Commit 0dbebc4

Browse files
committed
Merge pull request #5 from NicholasRBowers/finder-fix
Fix issue with Finder component in static resource controller.
2 parents 228226c + e744358 commit 0dbebc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Controller/StaticResourcesController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function apiDeclarationAction(Request $request, $resource)
7777

7878
private function getStaticResourcesDir()
7979
{
80-
return $this->get('service_container')->getParameter('al_swagger_ui.static_resources_dir');
80+
return $this->get('kernel')->getRootDir() . '/../' . $this->get('service_container')->getParameter('al_swagger_ui.static_resources_dir');
8181
}
8282

8383
private function getResourceListFilename()

0 commit comments

Comments
 (0)