mastodon/app/controllers/settings
Andrew 0401a24558 Add support for multiple themes (#4959)
* Add support for selecting a theme

* Fix codeclimate issues

* Look up site default style if current user is not available due to e.g. not being logged in

* Remove outdated comment in common.js

* Address requested changes in themes PR

* Fix codeclimate issues

* Explicitly check current_account in application controller and only check theme availability if non-nil

* codeclimate

* explicit precedence with &&

* Fix code style in application_controller according to @nightpool's suggestion, use default style in embedded.html.haml

* codeclimate: indentation + return
2017-09-19 16:36:23 +02:00
..
exports
two_factor_authentication
applications_controller.rb Use checkboxes for application scope setting (#4671) 2017-08-23 15:16:20 +02:00
deletes_controller.rb setting-for-account-deletable (#3852) 2017-06-19 15:12:31 +02:00
exports_controller.rb
follower_domains_controller.rb change sidekiq queueing to bulk push (#3536) 2017-06-04 00:11:15 +02:00
imports_controller.rb
preferences_controller.rb Add support for multiple themes (#4959) 2017-09-19 16:36:23 +02:00
profiles_controller.rb authorize-follow-requests-after-unlocking (#4658) 2017-08-26 12:40:03 +02:00
sessions_controller.rb Add feature to revoke sessions (#4259) 2017-07-19 04:59:04 +02:00
two_factor_authentications_controller.rb Fix #4026 - Accept backup codes for disabling 2FA (#4382) 2017-07-26 23:36:33 +02:00