Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partials saved in DB doesn't render - missing partial error #717

Open
ravionrails opened this issue Apr 17, 2014 · 1 comment
Open

Partials saved in DB doesn't render - missing partial error #717

ravionrails opened this issue Apr 17, 2014 · 1 comment

Comments

@ravionrails
Copy link

After seeding data when i view site, it gives missing partial error, when i add new partial it's also give missing partial error. They are saved in database (sqlite).

render :partial => "partials/header"
render :partial => "partials/footer"

Both gives missing partial error.

Missing partial partials/footer with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby, :jbuilder, :coffee]}. Searched in:
  * "#<Panoramic::Resolver:0xbcf9ea4>"
  * "/home/ravindra/projects/browser_cms_rails4_beta/app/views"
  * "/home/ravindra/.rvm/gems/ruby-2.0.0-p451/bundler/gems/browsercms-e037f9d9f687/app/views"
  * "/home/ravindra/.rvm/gems/ruby-2.0.0-p451/gems/devise-3.2.4/app/views"
  * "/home/ravindra/projects/browser_cms_rails4_beta/tmp/views"
@ravionrails
Copy link
Author

It's working when i use
render :partial => "partials/_header"
render :partial => "partials/_footer"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant