Skip to content

Instantly share code, notes, and snippets.

@mikecmpbll
Last active December 17, 2015 07:49
Show Gist options
  • Save mikecmpbll/5575550 to your computer and use it in GitHub Desktop.
Save mikecmpbll/5575550 to your computer and use it in GitHub Desktop.
Rails Engine view paths
Missing template layouts/application with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :coffee]}. Searched in: * "/Users/mike.campbell/projects/engines/myengine_shell/app/views" * "/Users/mike.campbell/projects/engines/myengine/app/views"
# Myengine is the engine, and MyengineShell is an app which mounts it.
# When I create the engine it generates an application.html.erb layout file in app/views/layouts/myengine/application.html.erb.
# How come my app can't find the layout?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment