Skip to content

Instantly share code, notes, and snippets.

@rmgimenez
Last active April 19, 2017 12:59
Show Gist options
  • Save rmgimenez/2e8cda27ce1550ae63d5010c7eee48a5 to your computer and use it in GitHub Desktop.
Save rmgimenez/2e8cda27ce1550ae63d5010c7eee48a5 to your computer and use it in GitHub Desktop.
<!-- Arquivo salvo em: views/sobre.html -->
<h2>Sobre</h2>
<p>Informações sobre o site...</p>
<p>Exemplo de variável: <$php echo $exemplo_variavel; ?></p></pre><br />
No controller eu faço assim para chamar a view da página "Sobre" e o template:<br />
<br />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment