From 78e918609a2a5cf9e0222dab81888de968e33222 Mon Sep 17 00:00:00 2001 From: Azul Date: Tue, 3 Sep 2013 10:50:00 +0200 Subject: remove email aliases controller - we don't use it anymore --- users/app/controllers/email_aliases_controller.rb | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 users/app/controllers/email_aliases_controller.rb (limited to 'users') diff --git a/users/app/controllers/email_aliases_controller.rb b/users/app/controllers/email_aliases_controller.rb deleted file mode 100644 index c90432f..0000000 --- a/users/app/controllers/email_aliases_controller.rb +++ /dev/null @@ -1,12 +0,0 @@ -class EmailAliasesController < UsersBaseController - before_filter :fetch_user - - def destroy - @alias = @user.email_aliases.delete(params[:id]) - if @user.save - flash[:notice] = t(:email_alias_destroyed_successfully, :alias => bold(@alias)) - end - redirect_to edit_user_email_settings_path(@user) #TODO: this path doesn't exist. will want to add path for identities controller - end - -end -- cgit v1.2.3