Postを削除しようとしたらエラーが、、、
ActionController::InvalidAuthenticityToken
Rubyのバージョン
ruby -v '2.4.0'
解決方法
application_controller.rb
class ApplicationController < ActionController::Base
protect_from_forgery //ここを追加
end
参考記事
https://qiita.com/_ayk_study/items/88269643c675fd4ca975