mastodon/app
David Yip 6fcb870d96
Allow for user object to be empty. Fixes #317.
If a flavour has only one skin, the skin selector will be omitted.  This
omits the user[setting_skin] field, and because that's the only
user[...] field on the page, the entire user object will not be present
in the request handler's params object.

This commit accounts for that scenario by avoiding params.require(:user)
and instead picking out what we need from the params hash.
2018-01-10 12:09:42 -06:00
..
controllers Allow for user object to be empty. Fixes #317. 2018-01-10 12:09:42 -06:00
helpers Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master 2018-01-08 04:17:11 +00:00
javascript Merge pull request #316 from glitch-soc/fix-async 2018-01-09 18:30:45 -06:00
lib Merge remote-tracking branch 'origin/master' into merge-upstream 2018-01-09 14:16:45 -06:00
mailers Add confirmation step for email changes (#6071) 2018-01-02 16:55:00 +01:00
models Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master 2018-01-08 10:17:15 +00:00
policies Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master 2017-12-02 14:17:11 +00:00
presenters Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master 2017-12-06 20:17:13 +00:00
serializers Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master 2018-01-08 10:17:15 +00:00
services Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master 2018-01-08 04:17:11 +00:00
validators Merge remote-tracking branch 'tootsuite/master' into merge-upstream 2017-12-12 02:54:13 -06:00
views Merge remote-tracking branch 'origin/master' into merge-upstream 2018-01-09 14:16:45 -06:00
workers Fix PuSH workers (#6200) 2018-01-05 23:04:35 +01:00