taste-o-code/taste-o-code-web — comment on commit 9fda5ae7ab19cab1011be4119fd942ce86aa6a0b
File: app/controllers/settings_controller.rb line 29
By KL-7:

`update` and `change_password` actions looks too similar. We can move all this update logic into separate method and use it in both actions or just replace two actions with one that updates password or other attributes depending on what we receive in `params`.