module Spree
module Admin
class ProductsController < ResourceController
def update
if params[:product][:taxon_ids].present?
params[:product][:taxon_ids] =
params[:product][:taxon_ids].split(',')
end
if params[:product][:option_type_ids].present?
params[:product][:option_type_ids] =
params[:product][:option_type_ids].split(',')
end
super
end
end;end;end

Here ProductsController Inherited from ResourceController.so in update
method, they called super method.where'd I search for the method?
is it on ResourceController,or Admin module, or Spree module..?

--
Don't miss SpreeConf on May 20-21: http://spreeconf.com
Spree is hiring: http://spreecommerce.com/careers

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupspree-user @
categoriesrubyonrails
postedApr 19, '13 at 11:16a
activeApr 19, '13 at 11:16a
posts1
users1
websitespreecommerce.com
irc#RubyOnRails

1 user in discussion

Abdul shajin: 1 post

People

Translate

site design / logo © 2022 Grokbase