where are you overriding the _list view?

On Thu, Feb 12, 2009 at 12:29 PM, Rafael <[email protected]> wrote:

>
> Hello,
>
> Let sat i this scenario:
>
> Models >>
>
> class Oportunity < ActiveRecord::Base
>  has_many :messages
> end
>
> class Message < ActiveRecord::Base
>   belongs_to :oportunity
> end
>
> On the oportunity controller i have messages defined as nested
>  config.nested.add_link "Messages", [:messages]
>
> All this works fine.
> What i need to do is when i click the Messages link, it displays all
> the messages
> "show" form, not the action, just list all the messages.
>
> I've been trying to override the _list view for that, but no success
> so far.
> Any suggestions?
>
> Any
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to