Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
codezomb committed Apr 22, 2024
1 parent 170123a commit b02f802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ArticlesController < ApplicationController

private

def permitted_params
def permitted_attributes(resource)
params.require(:article).permit(:title, :body)
end
end
Expand Down

0 comments on commit b02f802

Please sign in to comment.