FAQ
I had to manually bring in the undefined helper methods,

module Spree
   class Spree::WizardsController < Spree::BaseController

     # helper methods that are located in the spree layout view code
     #
     helper Spree::StoreHelper
     helper Spree::BaseHelper
     include Spree::Core::ControllerHelpers::Order
end



*Weston Platter | **westonplatter@gmail.com | google voice** - 408.657.8090*

On Tue, Jul 2, 2013 at 9:51 PM, カーター ダニエル wrote:

I'm a Rails newbie so I'm afraid this is a complete stab in the dark, but
I'm wondering if modifying the controller to inherit from
Spree::StoreController (instead of ApplicationController) would make any
difference?
On 3/07/2013 3:15 AM, Weston Platter wrote:

I'm building a Spree extension, and
followed http://guides.spreecommerce.**com/developer/extensions_**
tutorial.html<http://guides.spreecommerce.com/developer/extensions_tutorial.html>
.
I added a Wizards scaffold (model + controllers + views). When I try and
view it at, http://example.com/wizards, it says the helper methods cannot
be found.

undefined method `store_menu?' for #<#<Class:0x007ffd8f89de08>:**
0x007ffd8f8a7a48>


*Is there something I have to do to load the helpers?*

*Gemfile*
gem 'spree', github: 'spree/spree', branch: '2-0-stable'

*spree_wizard_products_**selection.gemspec*
s.add_dependency 'spree_core', '~> 2.0.0'

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 4 | next ›
Discussion Overview
groupspree-user @
categoriesrubyonrails
postedJul 2, '13 at 6:15p
activeJul 4, '13 at 2:19a
posts4
users2
websitespreecommerce.com
irc#RubyOnRails

2 users in discussion

Weston Platter: 3 posts Ryan Bigg: 1 post

People

Translate

site design / logo © 2022 Grokbase