Module: ApplicationPaginationConcern
- Extended by:
- ActiveSupport::Concern
- Included in:
- ApplicationController
- Defined in:
- app/controllers/concerns/application_pagination_concern.rb
Instance Method Summary collapse
-
#page_param ⇒ Integer?
protected
Retrieves the page number from the GET URL.
Instance Method Details
#page_param ⇒ Integer? (protected)
Retrieves the page number from the GET URL.
11 12 13 |
# File 'app/controllers/concerns/application_pagination_concern.rb', line 11 def page_param params.permit(:page)[:page] end |