Sha256: f83a1b0621f2ff8e508c487719e515cab65a106e560ff66f2ca835774af23f32
Contents?: true
Size: 438 Bytes
Versions: 7
Compression:
Stored size: 438 Bytes
Contents
class Admin::ShippingMethodsController < Admin::BaseController resource_controller before_filter :load_data layout 'admin' update.response do |wants| wants.html { redirect_to collection_url } end create.response do |wants| wants.html { redirect_to collection_url } end private def load_data @available_zones = Zone.find :all, :order => :name end end
Version data entries
7 entries across 7 versions & 2 rubygems