Mirv / basicb

Basic is as basic does...
https://github.com/Mirv/basicb/wiki
0 stars 0 forks source link

ActionController::InvalidAuthenticityToken #125

Closed Mirv closed 6 years ago

Mirv commented 6 years ago

Error ActionController::InvalidAuthenticityToken in CampaignsController#create in making a new campaign

Request
Parameters:

{"utf8"=>"✓",
 "authenticity_token"=>"q5nEp5sAgLfAn0+JHA+2z1uv1+yV2T3DUbtk6E/m8VGsi7MT/G++vbIVGds+Ooddspnd798XBMKfqbiwEWNalw==",
 "campaign"=>{"name"=>"test", "description"=>"bah"},
 "commit"=>"Create Campaign"}
Mirv commented 6 years ago

Possible fix ... https://stackoverflow.com/questions/21873164/when-i-try-to-create-user-rails-says-actioncontrollerinvalidauthenticitytoken

Mirv commented 6 years ago

Appears to be resolved by https://github.com/Mirv/basicb/commit/650336f13270b65fb15d41e33c893a8f2e01d018