2010/5/13 Klaus Huber <[email protected]>:
> Hi,
>
> this is my solution (edit and delete):
> in frontends/default/views/_show.html.erb add this:
> <%= link_to as_(:edit), { :action => 'edit'}, :class => 'cancel' %>
> <%= link_to as_(:delete), { :action => 'delete', :method
> => :delete}, :class => 'cancel' %>
Nice. Would those links be visible even if their actions ("update" and
"delete") are not enabled for the AS controller?
--
Iñaki Baz Castillo
<[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.