# File lib/routing_filter/filters/pagination.rb, line 27 def around_recognize(path, env, &block) page = extract_segment!(PAGINATION_SEGMENT, path) yield(path, env).tap do |params| params[:page] = page.to_i if page end end