[Freeswitch-dev] relative_url_root in rails3

Seven Du dujinfang at gmail.com
Tue Jan 18 12:35:32 MSK 2011


our whole arch depending on relative url to work. It turns unefficient
in rails2, now they changed

http://stackoverflow.com/questions/3181746/what-is-the-replacement-for-actioncontrollerbase-relative-url-root

Please use scopy .. do in rails 3 ... we lost some flexibility between
dev and production , but we could write a deploy script to substitute
the routes named scope in the future. Anyway, hard code it for now.

-- 
About: http://about.me/dujinfang
Blog: http://www.dujinfang.com
Proj:  http://www.freeswitch.org.cn



More information about the FreeSWITCH-dev mailing list