X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a67ff9c0389702e169e44103d02d89886878a51d..694d45cd31c65e06a342ae3d038af563c5dc7731:/app/controllers/api/user_preferences_controller.rb 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