Sha256: d8386e2e483d3739e533dddabd9973d05c626ce72a561c551e24749b867337f6
Contents?: true
Size: 596 Bytes
Versions: 2
Compression:
Stored size: 596 Bytes
Contents
module Spree module Admin class SisowController < Spree::Admin::BaseController def edit end def update Spree::Config.set(update_params.to_hash) redirect_to edit_admin_sisow_path, :notice => Spree.t(:sisow_settings_updated) end private def update_params params.require(:preferences).permit(:sisow_merchant_id, :sisow_merchant_key, :sisow_test_mode, :sisow_debug_mode) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree_billing_sisow-0.9.2 | app/controllers/spree/admin/sisow_controller.rb |
spree_billing_sisow-0.9.1 | app/controllers/spree/admin/sisow_controller.rb |