Spree::BaseController, you wouldn't have to do that.
On Thu, Jul 4, 2013 at 1:01 AM, Weston Platter wrote:
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 | **[email protected] | google voice** -
408.657.8090*
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 | **[email protected] | 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?
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'
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'
--
Ryan Bigg
Community Manager
Spree Commerce, Inc.