Then on the view, you can access it by
<?php echo $this->element('hello'); ?>
And you can also pass the value from the view to the element by second arguments, like this one:<?php echo $this->element('hello',array('name'=>'Lady Gaga'));?>
GMgKe586q6suSQnyqZLlGCooeWM
Thank you.Well it was nice post and very helpful information on Ruby on Rails Online Training India
ReplyDelete