Sha256: 59a5c97da228e8b6589879fa97374e0e256c8bce5565b09042a5e7eea3e0f30c
Contents?: true
Size: 438 Bytes
Versions: 1
Compression:
Stored size: 438 Bytes
Contents
module Effective class AddressesController < ApplicationController skip_authorization_check if defined?(CanCan) respond_to :json def subregions country_code = params[:country_code] if country_code.present? render :partial => 'effective/addresses/subregions', :locals => {:country_code => country_code} else render :text => '', :status => :unprocessable_entity end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
effective_addresses-0.1 | app/controllers/effective/addresses_controller.rb |