Skip to content

Commit

Permalink
Update initialize_bouncer_middleware.stub
Browse files Browse the repository at this point in the history
  • Loading branch information
brunolipe-a authored Jan 25, 2024
1 parent 84935d6 commit 51cde18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/initialize_bouncer_middleware.stub
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default class {{ middlewareName }} {
* Share bouncer helpers with Edge templates.
*/
if ('view' in ctx) {
ctx.view.share(ctx.bouncer.edgeHelpers)
;(ctx.view as any).share(ctx.bouncer.edgeHelpers)
}

return next()
Expand Down

0 comments on commit 51cde18

Please sign in to comment.