我有以下路线
x = [1, 2, 3, 4]
with open('log.csv', 'w') as fp:
print('list 1 is: {}'.format(x), file=fp)
这给了我
resources :posts, path: :blog do
resources :comments, path: :comments do
end
end
devise_scope :user do
resources :posts, path: :blog do
resources :comments do
end
end
end
谢谢!
答案 0 :(得分:0)
您多次调用帖子,路径,博客和评论的资源,您只是在更改顺序,但是链接是相同的。