On Viernes, 18 de Septiembre de 2009 09:58:10 EBIHARA, Yuichiro escribió:
> Sergio,
>
> This issue is what I'm also facing and I'm very happy to see your answer.
> Thank you.
>
> 2009/9/17 Sergio Cambra .:: entreCables S.L. ::. <[email protected]>:
> > Edit actions_for_association_links, look at API: Column, you have
> > examples there:
> > http://wiki.github.com/activescaffold/active_scaffold/api-column
> >
> > If you don't want create link in any association column edit it at class,
> > if you want to remove it only for some column, edit it at each column.
>
> May I ask an additional question?
> According to API: Column, the default value for
> actions_for_association_links is [:new, :edit, :show]. After I removed
>
> :new, "Create New" disappeared and when I click valid associations,
>
> Update action is invoked.
> If I also remove :edit, Show action is invoked.
> If I also remove :show, associations can be no longer clicked.
>
> My question is what are differences between [:edit] and [:edit, :show].
> I couldn't find differences between them.
> Could you tell me them?

With [:edit, :show] you get a show link when record is not authorized for 
update.

-- 
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]


--~--~---------~--~----~------------~-------~--~----~
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