Let me try and clarify a little bit. the index action loads a partial called 'actions' which has the two normal and two ajax links. On completion of processing the ajax links, the delete link removes the <tr> for that document and the publish re-renders the 'actions' partial.
the view action should render a different partial (ie 'view_actions') with different update params to the ajax links. The problem is that when run from the view action, I want the delete action to print a message rather than remove the row, and I want the publish action to render the view_actions rather than actions. I can see a way round this by duplicating the delete and publish actions in the controller and modify them slightly but that isn't DRY and doesn't feel like the right way to do it. Any tips most welcome :) Thanks Matt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

