Permalink
Browse files

Merge pull request #20 from bcrowe/master

Added viewFile parameter to beforeRender
  • Loading branch information...
2 parents 91c7df7 + b72764c commit 7181945bfc7c3cce5c68ac73aec1850efe1ee5e1 @dogmatic69 dogmatic69 committed Mar 28, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 View/Helper/TinyMCEHelper.php
@@ -85,7 +85,7 @@ public function editor($options = array()) {
*
* @return void
*/
- public function beforeRender() {
+ public function beforeRender($viewFile) {
$appOptions = Configure::read('TinyMCE.editorOptions');
if ($appOptions !== false && is_array($appOptions)) {
$this->_defaults = $appOptions;

0 comments on commit 7181945

Please sign in to comment.