我目前允许管理员删除用户
link_to("Delete", admin_path(resource), :confirm => "Do you want to delete this item?", :method => :delete)
如何添加查看选项,我希望有人在哪里查看该项目?
我目前允许管理员删除用户
link_to("Delete", admin_path(resource), :confirm => "Do you want to delete this item?", :method => :delete)
如何添加查看选项,我希望有人在哪里查看该项目?