Rails 101 (Rails 5版) 刪除已發表的文章
修改 app/controllers/posts_controller.rb
| 1 | - before_action :authenticate_user!, only: [:new, :create] | 
成果
 
On the way to be a programmer
修改 app/controllers/posts_controller.rb
| 1 | - before_action :authenticate_user!, only: [:new, :create] | 
成果
