mashirozx/mastodon

View on GitHub
app/controllers/settings/preferences_controller.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method user_settings_params has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def user_settings_params
    params.require(:user).permit(
      :setting_default_privacy,
      :setting_default_sensitive,
      :setting_default_language,
Severity: Minor
Found in app/controllers/settings/preferences_controller.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status