+ # roles and banning pages
+ map.connect '/user/:display_name/role/:role/grant', :controller => 'user_roles', :action => 'grant'
+ map.connect '/user/:display_name/role/:role/revoke', :controller => 'user_roles', :action => 'revoke'
+ map.connect '/user/:display_name/blocks', :controller => 'user_blocks', :action => 'blocks_on'
+ map.connect '/user/:display_name/blocks_by', :controller => 'user_blocks', :action => 'blocks_by'
+ map.resources :user_blocks, :as => 'blocks'
+ map.connect '/blocks/:id/revoke', :controller => 'user_blocks', :action => 'revoke'
+