Skip to content

Components not found in Rails Engine #84

Description

@AlbertoHdezCerezo

Hi,

First of all thank you for this incredible gem! Recently I started working with Rails. I am developing a Rails APP which has a custom Engine mounted.

After generating a new component under the component folder of the engine app I tried to load my application, and got this error message:

Missing partial wiki/_wiki with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby]}. Searched in:
  * "/opt/project/app/views"
  * "/usr/local/bundle/gems/mountain_view-0.13.0/app/views"
  * "/opt/project/engines/handover/app/views"
  * "/usr/local/bundle/gems/kaminari-core-1.1.1/app/views"
  * "/opt/project/app/components"

I understand the system is not being able to find the component because it is located under /opt/project/app/engines/<engine_name>/components.

How can I specify this route so the components are found?

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