mirror of
https://github.com/funamitech/mastodon
synced 2024-11-30 07:49:04 +09:00
6fcb870d96
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. |
||
---|---|---|
.. | ||
exports | ||
two_factor_authentication | ||
applications_controller.rb | ||
base_controller.rb | ||
deletes_controller.rb | ||
exports_controller.rb | ||
flavours_controller.rb | ||
follower_domains_controller.rb | ||
imports_controller.rb | ||
keyword_mutes_controller.rb | ||
migrations_controller.rb | ||
notifications_controller.rb | ||
preferences_controller.rb | ||
profiles_controller.rb | ||
sessions_controller.rb | ||
two_factor_authentications_controller.rb |