Class: Geopolitical::CitiesController
- Inherits:
-
GeopoliticalController
- Object
- ActionController::Base
- GeopoliticalController
- Geopolitical::CitiesController
- Defined in:
- app/controllers/geopolitical/cities_controller.rb
Overview
Cities Public Controller
Instance Method Summary collapse
Methods inherited from GeopoliticalController
Instance Method Details
#collection ⇒ Object
7 8 9 |
# File 'app/controllers/geopolitical/cities_controller.rb', line 7 def collection @cities = City.ordered.search(params[:search]).page(params[:page]) end |