ability to delete messages
This commit is contained in:
parent
4b3c207a81
commit
ee6165bf9b
4 changed files with 16 additions and 0 deletions
|
@ -143,6 +143,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 => 'destroy'
|
||||
|
||||
# fall through
|
||||
map.connect ':controller/:id/:action'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue