From: Yamal Khaled Soueidan Date: 2007-03-27T22:48:03+09:00 Subject: How Routing Rails? ------=_Part_9219_11978132.1175003277431 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, I'm trying to do develop some modules so I can reuse all my codes in different projects. I need to put routing in different files, and in route.rb include the files which have my routing code, but I don't know if this would work? Example, the following lines is inside route_account.rb. map.login 'login', :controller => 'accounts', :action => 'login' map.login 'signup', :controller => 'accounts', :action => 'signup' map.logout 'logout', :controller => 'accounts', :action => 'logout' map.account 'account' :controller => 'accounts', :action => 'account' I tried to include the line below in route.rb, but that wouldn't work? include 'route_account.rb' or load 'route_account.rb' or require 'route_account' Any help would be appropriated :) and thanks Regards, Jamal Thanks for your help! ------=_Part_9219_11978132.1175003277431--