Class: L12n::CitiesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- L12n::CitiesController
- Defined in:
- app/controllers/l12n/cities_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
5 6 7 |
# File 'app/controllers/l12n/cities_controller.rb', line 5 def index render json: City.select('id, name'), status: 200, callback: params[:callback] end |