Skip to content

Commit

Permalink
Merge pull request #18 from okvpn/support-symfony-3.4
Browse files Browse the repository at this point in the history
Fix error unable to find template "OkvpnMigrationBundle::schema-templ…
  • Loading branch information
vtsykun authored Dec 30, 2017
2 parents a1f2164 + 4a29fb1 commit b723162
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Resources/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ services:

okvpn_migration.tools.schema_dumper:
class: Okvpn\Bundle\MigrationBundle\Tools\SchemaDumper
public: true
arguments:
- '@twig'

Expand Down
2 changes: 1 addition & 1 deletion src/Tools/SchemaDumper.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

class SchemaDumper extends AbstractVisitor
{
const SCHEMA_TEMPLATE = 'OkvpnMigrationBundle::schema-template.php.twig';
const SCHEMA_TEMPLATE = '@OkvpnMigration/schema-template.php.twig';
const DEFAULT_CLASS_NAME = 'AllMigration';
const DEFAULT_VERSION = 'v1_0';

Expand Down

0 comments on commit b723162

Please sign in to comment.