Class: L12n::CitiesController

Inherits:
ApplicationController show all
Defined in:
app/controllers/l12n/cities_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



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