Class: CountriesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- CountriesController
- Defined in:
- lib/forge/app/controllers/countries_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
Instance Method Details
#get_provinces_for_checkout ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'lib/forge/app/controllers/countries_controller.rb', line 3 def get_provinces_for_checkout if params[:id] @provinces = Country.find(params[:id]).() respond_to do |format| format.js {render :json => @provinces} end end end |