diff options
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 51bb66cca..de2a7c8ee 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -78,6 +78,8 @@ ActionController::Routing::Routes.draw do |map| map.connect 'my/account', :controller => 'my', :action => 'account', :conditions => {:method => [:get, :post]} + map.connect 'my/account/destroy', :controller => 'my', :action => 'destroy', + :conditions => {:method => [:get, :post]} map.connect 'my/page', :controller => 'my', :action => 'page', :conditions => {:method => :get} # Redirects to my/page |