Skip to content

EJS Partials not working #307

@bdotdub

Description

@bdotdub

When I call:

<%= this.partial("somepartial.html.ejs") %>

I get this:

500 TypeError: Object # has no method 'partial'

The issue is this is the render function in the view. The context has to be passed in when rendering.

I have a the fix and the updated specs in my fork. Will comment on this issue with the SHA.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions