Method: KktShoppe::ProductCategoryLocalisationsController#update

Defined in:
app/controllers/kkt_shoppe/product_category_localisations_controller.rb

#updateObject



38
39
40
41
42
43
44
# File 'app/controllers/kkt_shoppe/product_category_localisations_controller.rb', line 38

def update
  if @localisation.update(safe_params)
    redirect_to [@product_category, :localisations], :notice => t('kkt_shoppe.localisations.localisation_updated')
  else
    render :action => "form"
  end
end