Closed connectedtrips closed 11 years ago
I am not sure how you upload image.
You can get CSRF via javascript and insert it to your upload form before submit. jQuery example:
$('meta[name="csrf-param"]').attr('content')
$('meta[name="csrf-token"]').attr('content')
Or you can look up https://github.com/galetahub/ckeditor to have some idea.
I'm using Devise to authenticate sessions and I'm getting kicked out after image upload.