Sha256: b3f6d1c88abdf0f00631d8adeac5c1f5266740e4ec306666d8ad50bcaa78475e
Contents?: true
Size: 658 Bytes
Versions: 6
Compression:
Stored size: 658 Bytes
Contents
class PeterconsuegraCountriesRegionsAndCitiesController < ApplicationController def get_regions selected_country ||= params[:selected_country] model ||= params[:model] render partial: 'shared/region_select_by_pete', locals: {model: model, label: "Region / State", selected_country: selected_country} end def get_cities selected_country ||= params[:selected_country] selected_region ||= params[:selected_region] model ||= params[:model] render partial: 'shared/city_select_by_pete', locals: {model: model, label: "Ciudad", selected_region: selected_region, selected_country: selected_country} end end
Version data entries
6 entries across 6 versions & 1 rubygems