X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a67ff9c0389702e169e44103d02d89886878a51d..32104684f7fe70bac494ede1f7249a6cf19a63ec:/app/controllers/api/user_preferences_controller.rb?ds=inline diff --git a/app/controllers/api/user_preferences_controller.rb b/app/controllers/api/user_preferences_controller.rb index 10b01d696..02a23095a 100644 --- a/app/controllers/api/user_preferences_controller.rb +++ b/app/controllers/api/user_preferences_controller.rb @@ -1,4 +1,4 @@ -# Update and read user preferences, which are arbitrayr key/val pairs +# Update and read user preferences, which are arbitrary key/val pairs module Api class UserPreferencesController < ApiController before_action :authorize @@ -10,7 +10,7 @@ module Api before_action :set_request_formats ## - # return all the preferences as an XML document + # return all the preferences def index @user_preferences = current_user.preferences