From cf704b6be7e4a222815dd25abdc7e2c3d12ae779 Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Tue, 19 Feb 2008 19:35:44 +0000 Subject: [PATCH] ActionItem170: still removing doc controller --- config/routes.rb | 3 --- test/integration/routing_test.rb | 7 ------- 2 files changed, 0 insertions(+), 10 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index 98adf7a..adf92c5 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -19,9 +19,6 @@ ActionController::Routing::Routes.draw do |map| # -- just remember to delete public/index.html. map.connect '', :controller => "home" - # documentation browser - map.connect 'doc', :controller => 'doc' - # user account controller map.connect 'account/new_password/:code', :controller => 'account', :action => 'new_password' map.connect 'account/:action', :controller => 'account' diff --git a/test/integration/routing_test.rb b/test/integration/routing_test.rb index 1eb29a1..1485335 100644 --- a/test/integration/routing_test.rb +++ b/test/integration/routing_test.rb @@ -8,13 +8,6 @@ class RoutingTest < ActionController::IntegrationTest assert_routing('/', :controller => 'home', :action => 'index') end - # auxiliary (development) controllers - ################################################################ - def test_doc_controller - require File.join(RAILS_ROOT, 'vendor', 'plugins', 'doc_browser', 'controllers', 'doc_controller') - assert_routing('/doc', :controller => 'doc', :action => 'index') - end - # user-targeted controllers (account/*, cms/*, customize/*) ################################################################ def test_account_controller -- libgit2 0.21.2