Skip to content

Commit

Permalink
Merge pull request #626 from DelvarWorld/doc-strong-rails
Browse files Browse the repository at this point in the history
Fixing typo in docs with strong typing
  • Loading branch information
seuros committed Jan 30, 2015
2 parents c3ca6b4 + 7bd2259 commit 4d24051
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 @@ -73,7 +73,7 @@ end

class UsersController < ApplicationController
def user_params
params.require(:user).permit(:name, :tag_list) ## Rails 4 strong params usage
params.require(:user).permit(:name, :tag_list => []) ## Rails 4 strong params usage
end
end

Expand Down

0 comments on commit 4d24051

Please sign in to comment.