On Jueves, 11 de Febrero de 2010 17:18:48 octimizer escribió:
> Hi everbody,
>
> I'm trying to customize my _show.html.erb.
> How would I go about displaying an action link (Edit) in the expanded
> block which appears after clicking Show ?
>
> Many thanks !


Override in your controller views directory the _show.html.erb, add the link 
and below use render :super

<%= link_to 'edit', url %>
<%= render :super %>

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