Add the ability for a recipient to (logically) delete a message from
their INBOX so they no longer see it.
This commit is contained in:
parent
0d97737a7d
commit
f3bf0c8b14
7 changed files with 33 additions and 3 deletions
|
@ -547,6 +547,7 @@ en:
|
|||
unread_button: "Mark as unread"
|
||||
read_button: "Mark as read"
|
||||
reply_button: "Reply"
|
||||
delete_button: "Delete"
|
||||
new:
|
||||
title: "Send message"
|
||||
send_message_to: "Send a new message to {{name}}"
|
||||
|
@ -585,6 +586,8 @@ en:
|
|||
mark:
|
||||
as_read: "Message marked as read"
|
||||
as_unread: "Message marked as unread"
|
||||
delete:
|
||||
deleted: "Message deleted"
|
||||
site:
|
||||
index:
|
||||
js_1: "You are either using a browser that doesn't support javascript, or you have disabled javascript."
|
||||
|
|
|
@ -194,6 +194,7 @@ ActionController::Routing::Routes.draw do |map|
|
|||
map.connect '/message/read/:message_id', :controller => 'message', :action => 'read'
|
||||
map.connect '/message/mark/:message_id', :controller => 'message', :action => 'mark'
|
||||
map.connect '/message/reply/:message_id', :controller => 'message', :action => 'reply'
|
||||
map.connect '/message/delete/:message_id', :controller => 'message', :action => 'delete'
|
||||
|
||||
# fall through
|
||||
map.connect ':controller/:id/:action'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue