El Friday 08 May 2009 02:04:44 andywatts escribió:
> To answer my own question
>
> config.columns[:user].set_link :show, :controller =>
> 'users', :parameters => {:parent_controller => 'user_xyzs'}

Parameters and controller shouldn't be needed. But it's easier, use 
config.columns[:user].actions_for_association_links = [:new, :show]
or if you don't want links to create new user
config.columns[:user].actions_for_association_links = [:show]

See API: Column in the wiki
http://wiki.github.com/activescaffold/active_scaffold/api-column

-- 
Sergio Cambra .:: entreCables S.L. ::.
Nicolás Guillén 6, locales 2 y 3. 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