Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Test < Application
- # ...and remember, everything returned from an action
- # goes to the client...
- def index
- if true
- return redirect url(:action => 'foo')
- else
- 'no go'
- end
- end
- def foo
- 'hi'
- end
- end
Add Comment
Please, Sign In to add comment