Commit cf704b6be7e4a222815dd25abdc7e2c3d12ae779
1 parent
4c3b35d5
Exists in
master
and in
23 other branches
ActionItem170: still removing doc controller
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1448 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
2 changed files
with
0 additions
and
10 deletions
Show diff stats
config/routes.rb
| @@ -19,9 +19,6 @@ ActionController::Routing::Routes.draw do |map| | @@ -19,9 +19,6 @@ ActionController::Routing::Routes.draw do |map| | ||
| 19 | # -- just remember to delete public/index.html. | 19 | # -- just remember to delete public/index.html. |
| 20 | map.connect '', :controller => "home" | 20 | map.connect '', :controller => "home" |
| 21 | 21 | ||
| 22 | - # documentation browser | ||
| 23 | - map.connect 'doc', :controller => 'doc' | ||
| 24 | - | ||
| 25 | # user account controller | 22 | # user account controller |
| 26 | map.connect 'account/new_password/:code', :controller => 'account', :action => 'new_password' | 23 | map.connect 'account/new_password/:code', :controller => 'account', :action => 'new_password' |
| 27 | map.connect 'account/:action', :controller => 'account' | 24 | map.connect 'account/:action', :controller => 'account' |
test/integration/routing_test.rb
| @@ -8,13 +8,6 @@ class RoutingTest < ActionController::IntegrationTest | @@ -8,13 +8,6 @@ class RoutingTest < ActionController::IntegrationTest | ||
| 8 | assert_routing('/', :controller => 'home', :action => 'index') | 8 | assert_routing('/', :controller => 'home', :action => 'index') |
| 9 | end | 9 | end |
| 10 | 10 | ||
| 11 | - # auxiliary (development) controllers | ||
| 12 | - ################################################################ | ||
| 13 | - def test_doc_controller | ||
| 14 | - require File.join(RAILS_ROOT, 'vendor', 'plugins', 'doc_browser', 'controllers', 'doc_controller') | ||
| 15 | - assert_routing('/doc', :controller => 'doc', :action => 'index') | ||
| 16 | - end | ||
| 17 | - | ||
| 18 | # user-targeted controllers (account/*, cms/*, customize/*) | 11 | # user-targeted controllers (account/*, cms/*, customize/*) |
| 19 | ################################################################ | 12 | ################################################################ |
| 20 | def test_account_controller | 13 | def test_account_controller |