vendor/plugins/rest_responses/lib/rest_responses.rb
# Renders the created record, and also forwards to the new record.
Renders the created record, and also forwards to the new record.
Renders the created record and also forwards to the new record .
def responds_creation(ob, options = {})
       headers["Location"] = url_for(ob)
       options[:status] ||= 201
       responds(ob, options)
     end
def responds_creation ( ob , options = { } ) headers [ "Location" ] = url_for ( ob ) options [ :status ] ||= 201 responds ( ob , options ) end
Renders the created record, and also forwards to the new record.
Renders the created record and also forwards to the new record .
ob
<not_specific>
options
<not_specific>