]> git.openstreetmap.org Git - rails.git/blob - app/controllers/preferences/notification_preferences_controller.rb
Merge remote-tracking branch 'upstream/pull/7110'
[rails.git] / app / controllers / preferences / notification_preferences_controller.rb
1 # frozen_string_literal: true
2
3 module Preferences
4   class NotificationPreferencesController < PreferencesController
5     private
6
7     def update_preferences
8       current_user.notification_preferences.update(params[:user_notification_preferences])
9     end
10   end
11 end