Skip to content
This repository was archived by the owner on May 16, 2018. It is now read-only.

Commit

Permalink
Adds missing require_once
Browse files Browse the repository at this point in the history
  • Loading branch information
froschdesign committed Mar 27, 2015
1 parent 3918079 commit 5670c86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/Zend/Controller/Action/Helper/ViewRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,7 @@ protected function _translateSpec(array $vars = array())
$module = $dispatcher->formatModuleName($request->getModuleName());

// Format controller name
require_once 'Zend/Filter/Word/CamelCaseToDash.php';
$filter = new Zend_Filter_Word_CamelCaseToDash();
$controller = $filter->filter($request->getControllerName());
$controller = $dispatcher->formatControllerName($controller);
Expand Down

0 comments on commit 5670c86

Please sign in to comment.