public
Fork of halorgium/mephisto
Description: A mirror of the mephisto code-base
Homepage: http://mephistoblog.com/
Clone URL: git://github.com/technoweenie/mephisto.git
Click here to lend your support to: mephisto and make a donation at www.pledgie.com !
make admin/ point to admin/overview.

git-svn-id: http://svn.techno-weenie.net/projects/mephisto/trunk@968 
567b1171-46fb-0310-a4c9-b4bef9110e78
technoweenie (author)
Mon Mar 06 21:19:36 -0800 2006
commit  4d6111faff03d8b2cf251a3f0ec5a313c68a19b6
tree    02500974ea03ca1f294515482a2a49fbda6a5539
parent  10bbfbb9f86ca2c35a4a188f8ae28497348003e9
...
9
10
11
 
 
12
13
14
15
16
17
18
19
...
9
10
11
12
13
14
15
16
 
 
17
18
19
0
@@ -9,11 +9,11 @@ ActionController::Routing::Routes.draw do |map|
0
 
0
   map.overview 'admin/overview.xml', :controller => 'admin/overview', :action => 'feed'
0
 
0
+ map.admin 'admin', :controller => 'admin/overview', :action => 'index'
0
+
0
   map.connect ':controller/:action/:id/:version', :version => nil,
0
       :requirements => { :controller => /account|(admin\/\w+)/ }
0
 
0
- map.admin 'admin', :controller => 'admin/base', :action => 'index'
0
-
0
   map.comment ':year/:month/:day/:permalink/comment', :controller => 'comments', :action => 'create',
0
       :requirements => { :year => /\d{4}/, :month => /\d{1,2}/, :day => /\d{1,2}/ }
0
 
...
15
16
17
18
 
19
20
21
...
15
16
17
 
18
19
20
21
0
@@ -15,7 +15,7 @@ class Admin::OverviewControllerTest < Test::Unit::TestCase
0
 
0
   def test_routing
0
     with_options :controller => 'admin/overview' do |test|
0
- test.assert_routing 'admin/overview', :action => 'index'
0
+ test.assert_routing 'admin', :action => 'index'
0
       test.assert_routing 'admin/overview.xml', :action => 'feed'
0
     end
0
   end

Comments

    No one has commented yet.