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.
Using REQUEST_PATH instead of PATH_INFO in for pagination in Sinatra
I think this is the same bug discussed on #251 so I'm closing this isssue.
Ups, seems like I miss it. Thanx for quick reply anyway =)