Skip to content
Permalink
Browse files

Merge branch 'develop'

  • Loading branch information...
parkerj committed Oct 3, 2016
2 parents badd9af + c89e0f5 commit 056e5b630af8b70df8925e8bb12f93f190843440
Showing with 4 additions and 4 deletions.
  1. +1 −1 Liten/Liten.php
  2. +2 −2 index.php
  3. +1 −1 tests/LitenTest.php
@@ -34,7 +34,7 @@ class Liten
/**
* @var string
*/
public $version = '1.0.5';
public $version = '1.0.6';
/**
* @var \Liten\Helper\Set
@@ -50,7 +50,7 @@
* Step 3: Include the routes needed
*/
// GET route
$app->get('/', function () {
$app->get('/', function () use($app) {
$template = <<<EOT
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
@@ -132,7 +132,7 @@
</tr>
</table>
<div data-signal-editable="Sociable" data-signal-content-type="layout" class="sociable"></div>
<div data-signal-editable="Sociable" data-signal-content-type="layout" class="sociable">version $app->version</div>
</td>
</tr>
@@ -7,7 +7,7 @@ class LitenTest extends \PHPUnit_Framework_TestCase
public function testMapRouting()
{
$app = Liten();
$app = new Liten();
$app->get('/foo/', function () {
return 'get foo';

0 comments on commit 056e5b6

Please sign in to comment.
You can’t perform that action at this time.