Sha256: f7c01d9f9a73b5f5485e3c59e03c93f49c4b978a5fd3e0b8b6c9829ae4e93b5a

Contents?: true

Size: 315 Bytes

Versions: 5

Compression:

Stored size: 315 Bytes

Contents

module Spree
  module Admin  
    class ZonedController < BaseController
      def setcountry
        respond_to do |format|
          format.js do
            session[:zoned] ||= {}
            session[:zoned][:prd_country] = params[%s{sel-prd-country}]
          end
        end
      end
    end      
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree_zoned-0.5.12 app/controllers/spree/admin/zoned_controller.rb
spree_zoned-0.5.11 app/controllers/spree/admin/zoned_controller.rb
spree_zoned-0.5.10 app/controllers/spree/admin/zoned_controller.rb
spree_zoned-0.5.9 app/controllers/spree/admin/zoned_controller.rb
spree_zoned-0.5.8 app/controllers/spree/admin/zoned_controller.rb