百宝箱 嵌套的routes

做到百宝箱二的9.4部分,前台的profile显示居然不是我猜测的

  • <%= link_to('我的个人资料', admin_user_profile_path) %>
  • 而是

  • <%= link_to('我的个人资料', user_path) %>
  • 嗯?!用user_path?!啊啊啊 果然顺序一打乱 我就思路混乱了 还是不够熟悉啊!!!要再多练习才能变熟练啊!!!

    你可能感兴趣的:(百宝箱 嵌套的routes)