X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/99af52b4785438f931481f730a91805e1ddf975f..967e6d4:/app/controllers/preferences_controller.rb diff --git a/app/controllers/preferences_controller.rb b/app/controllers/preferences_controller.rb index 1d96766ef..910f6a24f 100644 --- a/app/controllers/preferences_controller.rb +++ b/app/controllers/preferences_controller.rb @@ -11,8 +11,6 @@ class PreferencesController < ApplicationController def show; end - def edit; end - def update current_user.languages = params[:user][:languages].split(",") @@ -40,7 +38,7 @@ class PreferencesController < ApplicationController redirect_to preferences_path else flash.now[:error] = t ".failure" - render :edit + render :show end end end