Skip to content

Commit

Permalink
update documentation for esi preview error (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz authored and wachterjohannes committed Nov 24, 2017
1 parent 68d9979 commit d7e8cc5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Resources/doc/4-login.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ framework:
**Insert following in your twig file**:
```twig
{{ render_esi(controller('SuluCommunityBundle:Login:embed')) }}
{{ render_esi(controller('SuluCommunityBundle:Login:embed', {
'_portal' : request.portalKey|default('default_portal_key'),
'_locale' : app.request.locale
})) }}
```

**Example Template**:
Expand Down

0 comments on commit d7e8cc5

Please sign in to comment.