X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4b3c207a818b936310f48b768488a6a39845fe81..ee6165bf9bf790e930409b03832e61ae2c8a1bfd:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 1444de106..2ac48cc29 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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'