Sha256: 4f3848ef8032db787170cc764732018cfe2fde4fbf1cfb8f80d65846807be40c

Contents?: true

Size: 286 Bytes

Versions: 1

Compression:

Stored size: 286 Bytes

Contents

class Admin::TaxRatesController < Admin::BaseController
  before_filter :load_data
  
  update.response do |wants|
    wants.html { redirect_to collection_url }
  end
    
  private 
  
      def load_data     
        @available_states = State.find :all, :order => :name
      end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree-0.2.0 vendor/extensions/tax_calculator/app/controllers/admin/tax_rates_controller.rb