mike2r wrote in post #1146701:
>
> The only way to do what you want is to use a render instead of a
> redirect.

Thank you very much for you answer and your explanation, I'm in business 
using:

def ajouter
    @reperecarte[0]="test"
        respond_to do |format|
        format.html { render :template => "pages/operation_en_cours" }
        format.json { head :no_content }
        end
 end

Fab

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

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/337e0dbd9caffa261c24f37c34a42f6b%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to