Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是我的路线文件。
devise_for :users, :path => 'accounts' resources :users do resources :articles end
如何在主页上显示用户的所有文章?
试试这个(HAML):
- current_user.articles.each do |article| = article.name
您必须确保在您的articles_controller.
articles_controller
First of all, I am using playframework 2 with Java.
I have a Bootstrap-lookahead input field in a view and I want to use a json array as source for it, as described 1 apache - WAMP apache httpd.config 和主机 - 如何将 localhost 别名为端口 8080?