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
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
models
policies
presenters
serializers
services
validators
views Merge remote-tracking branch 'origin/master' into merge-upstream 2018-01-09 14:16:45 -06:00
workers