diff options
author | jessib <jessib@riseup.net> | 2013-09-03 10:21:14 -0700 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2013-09-03 10:21:14 -0700 |
commit | a3e7cf7b667ec2080d8930b3c2659978a4c95a9b (patch) | |
tree | 64d7edb777b6a84f3e3aaab264ce0cc1a0e0dc62 /users/app/controllers/email_aliases_controller.rb | |
parent | c17edbc069c6dcfc3dd20d8cdfb5922032769a5f (diff) | |
parent | 31429466c9e21f3360c9b550fa93170200f15493 (diff) |
Merge pull request #79 from azul/cleanup/remove-outdated-controller-actions
Cleanup/remove outdated controller actions
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 |