search for: adminportalcontrol

Displaying 1 result from an estimated 1 matches for "adminportalcontrol".

2006 Jan 07
2
Functional tests with routes
Hi all, I''m trying to do a route test using assert_generates and running into a bit of trouble. The controller that I am testing is in a module - class Admin::AdminPortalController def index end end I want the user to jump to the AdminPortal/index action when they use http://myApp/admin, so I''ve put the following in routes.rb map.admin_portal ''admin'', :controller => "admin/admin_portal", :action =>''index'...