Help! I am stuck on adding a private method, destination_params below the edit action in the Destinations controller. I have put the code in exactly how the lesson is telling me, but I keep pulling an error and it won't let me move on to the next step. I don't want to get the code until I have exhausted every other option. Thanks!
Here is my code:
private def destination_params params.require(:destination).permit (:name, :description) end
And here is the error I'm pulling:
app/controllers/destinations_controller.rb:15: syntax error, unexpected ',', expecting ')' (SyntaxError)
What the heck?!