module Effective class AddressesController < ApplicationController skip_authorization_check if defined?(CanCan) def subregions @subregions = Carmen::Country.coded(params[:country_code]).try(:subregions) if @subregions.present? render :partial => 'effective/addresses/subregions' else render :body => "" end end end end