📜  rails 获取当前路径 - Ruby 代码示例

📅  最后修改于: 2022-03-11 15:04:49.180000             🧑  作者: Mango

代码示例1
request.url
# => "http://localhost:3000/lists/7/items"
request.path
# => "/lists/7/items"