Skip to content

Commit

Permalink
Quick fix Blade templating issue in Laravel 4.2
Browse files Browse the repository at this point in the history
Addresses issue #138

As of Laravel 4.2 the curly braces (at least in this generator) are not
rendering correctly - they should up in the generated file.

Until the issue is resolved in the Laravel source, using a simple PHP
echo serves as a temporary solution.
  • Loading branch information
tannerhodges committed Jun 23, 2014
1 parent c21f763 commit 1f82aad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/generators/migration.blade.php
@@ -1,4 +1,4 @@
{{ '<?php' }}
<?php echo "<?php\n"; ?>

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
Expand Down

0 comments on commit 1f82aad

Please sign in to comment.