Skip to content

Instantly share code, notes, and snippets.

@BelenRemedi
Created August 27, 2019 18:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BelenRemedi/ae250786a8ed427c8007485cc318eccc to your computer and use it in GitHub Desktop.
Save BelenRemedi/ae250786a8ed427c8007485cc318eccc to your computer and use it in GitHub Desktop.
def post_params
params.require(:post).permit(:title, :content)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment