amatsuda/kaminari — pull request #253 by kot-begemot (2012-07-01 17:24:32+00:00)
Title: From PATH_INFO to REQUEST_PATH in Sinatra helper

While developing Pardino application and dealing with admin-module I faced a problem, that the Kaminati paginate function, return paths like `/:resource`, while it should return something like `/admin/:resource`.
Padrino environment contains two things PATH_INFO and REQUEST_PATH. I believe PATH_INFO contains path relative to Padrino::Application instance, while instance may have its own mapping, and REQUEST_PATH contains url relative path. So I suppose, REQUEST_PATH is more appropriate there.