On 22 May 2014 13:32, Fab Forestier <li...@ruby-forum.com> wrote:
> Sorry th etitle of the topic isn't very clear but it's difficult to
> summarize my problem!
>
> I made a view without model but I display in table the content of a
> variable named '@operations'. So each line corresponds to an operation.
> In my table I have also a column with a button for each line. When i
> click on the button I want to redirect to an existing page 'Operation'
> witch correspond to the operation of the line of the table like in the
> index view with the 'edit' or 'delete' button.
>
> But I can't do the same think because I'm not working with a special
> model in this view.

You can, but you may need to do it a different way.  The first
question is whether you need to use a form, do you need to post data,
or is each button effectively just a link?

Colin

-- 
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 rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLu1EV%3D6ezMKavNRy0v0n%2BxKfmRTV9YPt6uf7%3D4XOKvasA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to