Add pin_id to pin_params in pins_controller
Remove pin_id from pin_params in controller and fixed syntax error in buy.html.erb