From 1044dfbfd29866b101cfbdc278788bd4f55a7276 Mon Sep 17 00:00:00 2001
From: Robert Speicher <rspeicher@gmail.com>
Date: Fri, 5 Jun 2015 16:39:01 -0400
Subject: [PATCH] Remove js handler from Profiles#update

It was only used for the appearance live updating, which is now handled
by Profiles::Preferences#update
---
 app/controllers/profiles_controller.rb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/app/controllers/profiles_controller.rb b/app/controllers/profiles_controller.rb
index 88e87996277..b4af9e490ed 100644
--- a/app/controllers/profiles_controller.rb
+++ b/app/controllers/profiles_controller.rb
@@ -26,7 +26,6 @@ class ProfilesController < Profiles::ApplicationController
 
     respond_to do |format|
       format.html { redirect_to :back }
-      format.js
     end
   end
 
-- 
GitLab