Class: MagicAddresses::CountriesController
- Inherits:
-
BaseController
- Object
- ApplicationController
- BaseController
- MagicAddresses::CountriesController
- Defined in:
- lib/app/controllers/magic_addresses/countries_controller.rb
Instance Method Summary collapse
Methods included from MgcaHelper
#address_admin_template, #country_flag
Instance Method Details
#index ⇒ Object
4 5 6 |
# File 'lib/app/controllers/magic_addresses/countries_controller.rb', line 4 def index @countries = ::MagicAddresses::Country.includes(:translations).with_translations(I18n.locale).order( 'mgca_country_translations.name ASC' ) end |