Class: Geopolitical::CitiesController

Inherits:
GeopoliticalController show all
Defined in:
app/controllers/geopolitical/cities_controller.rb

Overview

Cities Public Controller

Instance Method Summary collapse

Methods inherited from GeopoliticalController

#index

Instance Method Details

#collectionObject



7
8
9
# File 'app/controllers/geopolitical/cities_controller.rb', line 7

def collection
  @cities = City.ordered.search(params[:search]).page(params[:page])
end