Skip to content

Commit 38abc1d

Browse files
committed
chore: remove unused image field from permitted user params
1 parent 37a8f7b commit 38abc1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/controllers/users_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@ def destroy
4747
private
4848

4949
def user_params
50-
params.require(:user).permit(:twitter, :github, :linkedin, :email, :name, :description, :freelancer, :available, :hide_jobs, :participants, :image, :url)
50+
params.require(:user).permit(:twitter, :github, :linkedin, :email, :name, :description, :freelancer, :available, :hide_jobs, :participants, :url)
5151
end
5252
end

0 commit comments

Comments
 (0)