delete message
This commit is contained in:
parent
f5edf91670
commit
de5fc1c44f
2 changed files with 2 additions and 1 deletions
|
@ -111,7 +111,7 @@ class WebmailController < ApplicationController
|
|||
|
||||
def delete
|
||||
@msg_id = msg_id_param.to_i
|
||||
folder.messages().delete(@msg_id)
|
||||
folder.delete(@msg_id)
|
||||
redirect_to(:action=>"messages")
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue