Can i return a value instead of a view from my controller?

Posted by Flexo on Stack Overflow See other posts from Stack Overflow or by Flexo
Published on 2010-04-02T06:55:11Z Indexed on 2010/04/02 7:03 UTC
Read the original article Hit count: 239

Filed under:
|
|

I would like to return the id of a newly created object for my ajax call instead of returning the view associated with the controller method.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about controller