Class: Geopolitical::HoodsController

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

Overview

Hoods Main Public Interface

Instance Method Summary collapse

Methods inherited from GeopoliticalController

#index

Instance Method Details

#collectionObject



8
9
10
# File 'app/controllers/geopolitical/hoods_controller.rb', line 8

def collection
  @hoods = Hood.ordered.page(params[:page])
end