gitlab-org--gitlab-foss/app/controllers/admin
blackst0ne ac1b5def53 [Rails5] Fix admin/application_settings_controller
The `RAILS5=1 rspec spec/controllers/admin/application_settings_controller_spec.rb`
command throws the error:

Failures:

  1) Admin::ApplicationSettingsController PUT #update falls back to defaults when settings are omitted
      Failure/Error: import_sources = params[:application_setting][:import_sources]

      NoMethodError:
        undefined method `[]' for nil:NilClass
      # ./app/controllers/admin/application_settings_controller.rb:62:in `application_setting_params'

This commit fixes it.
2018-04-11 12:33:11 +11:00
..
abuse_reports_controller.rb
appearances_controller.rb Backport changes in EE MR 4972: System Header and Footer 2018-04-02 14:27:12 +00:00
application_controller.rb Add read-only banner to all pages 2018-03-22 20:34:45 +01:00
application_settings_controller.rb [Rails5] Fix admin/application_settings_controller 2018-04-11 12:33:11 +11:00
applications_controller.rb
background_jobs_controller.rb
broadcast_messages_controller.rb Replace $.ajax in admin broadcast messages with axios 2018-02-05 14:59:48 +00:00
cohorts_controller.rb use Gitlab::UserSettings directly as a singleton instead of including/extending it 2018-02-02 18:39:55 +00:00
conversational_development_index_controller.rb
dashboard_controller.rb
deploy_keys_controller.rb Merge branch 'sh-migrate-can-push-to-deploy-keys-projects-10-3' into 'security-10-3' 2018-01-16 17:04:51 -08:00
gitaly_servers_controller.rb Gitaly Server info for admin panel 2018-01-31 08:54:45 +01:00
groups_controller.rb [Rails5] Rename sort methods to sort_by_attribute 2018-04-04 09:19:47 +00:00
health_check_controller.rb
hook_logs_controller.rb
hooks_controller.rb reference triggers.values for permitted parameters 2018-01-17 09:55:00 +01:00
identities_controller.rb
impersonation_tokens_controller.rb Remove impersonate token from flash scope 2018-03-02 10:10:39 +00:00
impersonations_controller.rb
jobs_controller.rb Add modal for stopping jobs in admin area 2018-01-18 10:05:40 +01:00
keys_controller.rb
labels_controller.rb
logs_controller.rb
projects_controller.rb Present member collection at the controller level 2017-12-12 18:14:58 +01:00
requests_profiles_controller.rb
runner_projects_controller.rb
runners_controller.rb Adds Rubocop rule for line break around conditionals 2018-01-11 16:34:01 +00:00
services_controller.rb Track and act upon the number of executed queries 2018-02-01 17:00:46 +01:00
spam_logs_controller.rb
system_info_controller.rb
users_controller.rb [Rails5] Rename sort methods to sort_by_attribute 2018-04-04 09:19:47 +00:00