Skip to content

Commit

Permalink
Prepare for v2.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
LogansUA committed Mar 29, 2016
1 parent 405a7f6 commit 998761a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Twig/Extension/StfalconTinymceExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public function tinymceInit($options = array())
unset($config['asset_package_name']);

/** @var $assets \Symfony\Component\Templating\Helper\CoreAssetsHelper */
$assets = $this->getService('templating.helper.assets');
$assets = $this->getService('assets.packages');

// Get path to tinymce script for the jQuery version of the editor
if ($config['tinymce_jquery']) {
Expand Down Expand Up @@ -204,7 +204,7 @@ public function getName()
protected function getAssetsUrl($inputUrl)
{
/** @var $assets \Symfony\Component\Templating\Helper\CoreAssetsHelper */
$assets = $this->getService('templating.helper.assets');
$assets = $this->getService('assets.packages');

$url = preg_replace('/^asset\[(.+)\]$/i', '$1', $inputUrl);

Expand Down
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,10 @@
"Stfalcon\\Bundle\\TinymceBundle": ""
}
},
"target-dir" : "Stfalcon/Bundle/TinymceBundle"
"target-dir" : "Stfalcon/Bundle/TinymceBundle",
"extra": {
"branch-alias": {
"dev-master": "2.x-dev"
}
}
}

0 comments on commit 998761a

Please sign in to comment.