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

ActionView::Template::Error (No route matches {:action=>"show", :controller=>"spree/admin/themes_preview", :theme_id=>nil} #29

Open
matissg opened this issue Sep 13, 2018 · 1 comment

Comments

@matissg
Copy link

matissg commented Sep 13, 2018

Hi,
First of all it's great, you've created themes for Spree and I'd love to try some of them out.
At the moment I'm a bit stuck as I get this error:

Showing /mnt/c/sites/myappname/app/views/spree/layouts/spree_application.html.erb where line #21 raised:

No route matches {:action=>"show", :controller=>"spree/admin/themes_preview", :theme_id=>nil}, possible unmatched constraints: [:theme_id]

<%= render partial: 'spree/shared/sidebar' if content_for? :sidebar %>

<div id="content" class="<%= !content_for?(:sidebar) ? "col-sm-12" : "col-sm-8 col-md-9" %>" data-hook>
  <%= flash_messages %>
  <%= yield %>
</div>

My Gemfile looks like this:

gem 'spree', '3.4.5'
gem 'spree_auth_devise', '~> 3.3'
gem 'spree_gateway', '~> 3.3'
gem 'sprockets-helpers', '~> 1.2.1'
gem 'vinsol_spree_themes', github: 'vinsol-spree-contrib/spree_themes', branch: 'master'

I have Ruby 2.5.1 and Rails 5.1.6
So far I've tried to do something what was suggested here, however it does not work.

I'd be happy for any help. Thank you!

@matissg
Copy link
Author

matissg commented Sep 13, 2018

It turns out error was related to caching, so this can be closed.

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