Skip to content

Commit

Permalink
Need ability to call event.method() inside templates #137
Browse files Browse the repository at this point in the history
  • Loading branch information
grantcopley committed Dec 21, 2023
1 parent a97865a commit 407158a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions models/renderer/RendererEncapsulator.cfm
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
variables[ "prc" ] = attributes.event.getPrivateCollection();
variables[ "event" ] = attributes.event;
variables[ "renderView" ] = function() {
return attributes.event.getController().getRenderer().renderView( argumentCollection=arguments );
};
Expand Down

0 comments on commit 407158a

Please sign in to comment.