renaming and moving show action link

26 views
Skip to first unread message

slava

unread,
Sep 27, 2011, 2:51:25 AM9/27/11
to ActiveScaffold : Ruby on Rails plugin
Hello,
How would I rename Show action link in active scaffold? I also want to
move it to the beginning of the row. Thanks.

Atastor

unread,
Sep 27, 2011, 3:22:05 AM9/27/11
to actives...@googlegroups.com

Answer 1: conf.show.link.label = "whatever"

Checking on answer 2...stay tuned...

Regards
Michael

Atastor

unread,
Sep 27, 2011, 3:29:14 AM9/27/11
to actives...@googlegroups.com
Ah, yeah..remembered:

Answer 2:  You can reorder via something like
     conf.actions = [:show, :create, :update, :delete, :list]

Regards
Michael

slava

unread,
Sep 27, 2011, 3:33:51 AM9/27/11
to ActiveScaffold : Ruby on Rails plugin
Thanks, Michael. Reordering action links within the same cell is not
what I am after. I want to make the first cell in my scaffold a column
with data action link that has the behavior of show action. This show
action click will display the show view below as normal and also show
some data in a details view outside the scaffold.
Reply all
Reply to author
Forward
0 new messages