How to "break action"

hi all,

if i want to “return or exit” (Like C language) in a action(function) ,
and maybe translate control to another function ,how can it do ?
(direct_to?)

thanks

-Feng

From a controller method…

render and return

…or…

redirect_to :controller => ‘my_controller’, :action => ‘some_action’ and
return

On 5/29/07, Feng [email protected] wrote:

-Feng


Posted via http://www.ruby-forum.com/.

seth at subimage interactive

http://www.subimage.com
http://sublog.subimage.com

http://dev.subimage.com/projects/substruct