Browse files

Merge pull request #40 from sibaz/master

Bug fixed in  handling-http-requests/helpers.wiki
  • Loading branch information...
2 parents ea73700 + bc077a6 commit 621e68a8f172699ef9ae20dc0bb2b4d7b1dba2ee @nateabele nateabele committed Dec 3, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 en/handling-http-requests/helpers.wiki
View
4 en/handling-http-requests/helpers.wiki
@@ -44,7 +44,7 @@ namespace app\extensions\helper;
class AwesomeHtml extends \lithium\template\Helper {
- private $_strings = array(
+ protected $_strings = array(
'awesome' => '<a class="awesome" href="{:url}">{:title}</a>',
'super_cool' => '<span class="super"><a class="cool" href="{:url}">{:title}</a></span>',
);
@@ -62,7 +62,7 @@ Once this has been setup, we can use the new helper as we would any of the core
{{{<p>
You should really check out
- <?=$this->awesomeLink->create('Lithium', 'http://lithify.me', array(
+ <?=$this->awesomeHtml->link('Lithium', 'http://lithify.me', array(
'type' => 'super_cool'
)) ?>
</p>}}}

0 comments on commit 621e68a

Please sign in to comment.