diff options
author | Robin Houston <robin@lenny.robin> | 2011-07-06 11:13:28 +0100 |
---|---|---|
committer | Robin Houston <robin@lenny.robin> | 2011-07-06 11:13:28 +0100 |
commit | 1e717f9aed8ee033f1ba318ae5507e937e010a59 (patch) | |
tree | 288c5bf689fc52801dd25431cac2ea8fdebf9399 | |
parent | 4d36238dbc2a239b48193b9089c3321a3103346f (diff) |
Fix the routing for "destroy censor rule".
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 1292e05fc..e6d30b8df 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -189,7 +189,7 @@ ActionController::Routing::Routes.draw do |map| rule.admin_rule_create '/admin/censor/create', :action => 'create' rule.admin_rule_edit '/admin/censor/edit/:id', :action => 'edit' rule.admin_rule_update '/admin/censor/update', :action => 'update' - rule.admin_rule_destroy '/admin/censor/destroy', :action => 'destroy' + rule.admin_rule_destroy '/admin/censor/destroy/:censor_rule_id', :action => 'destroy' end # Allow downloading Web Service WSDL as a file with an extension |