Skip to content

partial 无法支持相对路径 #25

@huacnlee

Description

@huacnlee

比如 views 里面结构

views
  posts
     _form.erb
     new.erb

在 new.erb 里面这样是不行的

<%== partial "_form" %>

只能写完整的目录 posts/_form

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions