Add/edit org code of conduct, as admin

This commit is contained in:
James Mason 2018-03-16 12:02:49 -07:00
parent 6412bce5a8
commit 2bd34f5d82
No known key found for this signature in database
GPG key ID: 1B3951886C449023
6 changed files with 58 additions and 5 deletions

View file

@ -88,7 +88,9 @@ module Admin
end
def organization_params
params.require(:organization).permit(:name, :description, :picture)
params.require(:organization).permit(
:name, :description, :picture, :code_of_conduct
)
end
end
end