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
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/.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs