2009-08-18から1日間の記事一覧
It is not obvious how to take a URL (or more specifically a path) and figure out what controller and parameters it routes to. Here is the answer:ActionController::Routing::Routes.recognize_path("/test/where/does/this/go")Found at this link:…