diff --git a/app/controllers/dmsf_state_controller.rb b/app/controllers/dmsf_state_controller.rb
index bdf684e2..9779b229 100644
--- a/app/controllers/dmsf_state_controller.rb
+++ b/app/controllers/dmsf_state_controller.rb
@@ -52,15 +52,12 @@ class DmsfStateController < ApplicationController
{:controller => "dmsf", :action => "index", :id => @project, :folder_id => @file.folder}
end
- def user_pref
- end
-
def user_pref_save
@user_pref = DmsfUserPref.for(@project, User.current)
@user_pref.email_notify = params[:email_notify];
@user_pref.save
flash[:notice] = l(:notice_your_preferences_were_saved)
- redirect_to :action => "user_pref", :id => @project
+ redirect_to :controller => "projects", :action => 'settings', :tab => 'dmsf', :id => @project
end
def folder_notify_activate
diff --git a/app/views/dmsf/index.html.erb b/app/views/dmsf/index.html.erb
index 7d274ea6..89eca50f 100644
--- a/app/views/dmsf/index.html.erb
+++ b/app/views/dmsf/index.html.erb
@@ -178,8 +178,6 @@ form_tag({:action => "entries_operation", :id => @project, :folder_id => @folder
<%= render(:partial => "multi_upload") %>
-<%= link_to(l(:link_user_preferences), {:controller => "dmsf_state", :action => "user_pref", :id => @project}) %>
-
<% content_for :header_tags do %>