Sha256: 661700e401a18a7e9b8035960f11a0ea13947b80ffc29eb2208575101d458835
Contents?: true
Size: 261 Bytes
Versions: 2
Compression:
Stored size: 261 Bytes
Contents
Spree::HomeController.class_eval do def index params[:user_id] = try_spree_current_user.id if try_spree_current_user @searcher = Spree::Config.searcher_class.new(params) @products = @searcher.retrieve_products respond_with(@products) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree_restriction-1.2.4 | app/controllers/home_controller_decorator.rb |
spree_restriction-1.2.3 | app/controllers/home_controller_decorator.rb |