Skip to content

'gf' can't navigate to shared partials in app/views/application #347

@jondkinney

Description

@jondkinney

Perhaps this is similar to #149, but unless I prefix the partial name with the shared folder, gf can't get me to where I'd like to go. Rails doesn't require shared partials in app/views/application to be prefixed in the context of the partial call, so it seems like 'gf' should be able to find them still. Is there a way to add app/views/application to the global search path or something?

For example:

'gf' works in this context

render partial: 'application/some_partial'

But not in this context

render partial: 'some_partial'

Thanks much

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions