Update controller basics with flash code that uses strong parameters

Noticed that the code passes in ```params[:post]```. Assuming that this is a hash, I updated the code to use strong parameters instead.
Just noticed I didn't get rid of ```params```. It should instead be ```Post.new(whitelisted_post_params)```