More changes
This commit is contained in:
@@ -8,9 +8,11 @@ RouteCollection::add('GET','/', function(){
|
||||
|
||||
global $OUTPUT;
|
||||
$OUTPUT->setTemplate();
|
||||
$OUTPUT->renderView('wellcome', Array('string' => Array('welcome' => 'Bem vindo')));
|
||||
|
||||
//$OUTPUT->renderView('wellcome', Array('string' => Lang::getStrings('welcome')));
|
||||
//$OUTPUT->renderView('wellcome', Array('string' => Array('welcome' => 'Bem vindo')));
|
||||
$OUTPUT->setView('wellcome');
|
||||
$OUTPUT->addValue('string', Array('welcome' => 'Bem vindo'));
|
||||
$OUTPUT->addValue('palavrinha', 'Oi');
|
||||
$OUTPUT->render();
|
||||
});
|
||||
|
||||
RouteCollection::add('get', '/welcome', 'WellcomeController@welcome');
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
</div>
|
||||
{{string.welcome}} to hell...
|
||||
<br />
|
||||
I shal be your guide
|
||||
I shal be your guide {{palavrinha}}
|
||||
Reference in New Issue
Block a user