ruby on rails - Spree 1.1 missing templates when inheriting from Spree::BaseController -


I'm trying to load a customized spry page by inheriting from Spree :: BaseController.

  Classroom Controller & lt; Spree :: BaseController layout 'spree_application' def home end and   

but I get a whole bunch of missing template errors

The template is missing {: Locale = & gt; [: N],: format = & gt; [: Html],: handlers = & gt; [: Erb,:

Builder ,: coffee ,: rabl]}. Searched in: * "/ user / mm / storeonline / app / view" ...

This does not look right if I have to change all those templates, I can use controllers / tasks / scenes, then my question is - is it not supported in Sprite version 1.1 ++?

I was just the controller defined in the wrong place, really better documentation on this material for enjoyment Has the desire

However, move it into app / controllers / spree / page_controller rb and it worked fine.

Comments

Popular posts from this blog

python - Assemble mpeg file unable to play in mediaplayer -

c# - crystal report failed -

mongodb - CakePHP paginator ignoring order, but only for certain values -