diff options
author | Azul <azul@leap.se> | 2013-09-03 10:50:00 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2013-09-03 10:50:00 +0200 |
commit | 78e918609a2a5cf9e0222dab81888de968e33222 (patch) | |
tree | 6066d19c41a1ce0ca29a3778567ad7b535d84768 /users/app/controllers/email_aliases_controller.rb | |
parent | 9a70f0e317e62993337e3e47382dcb7795d65652 (diff) |
remove email aliases controller - we don't use it anymore
Diffstat (limited to 'users/app/controllers/email_aliases_controller.rb')
-rw-r--r-- | users/app/controllers/email_aliases_controller.rb | 12 |
1 files changed, 0 insertions, 12 deletions
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 |