Controller / Action

1 view
Skip to first unread message

LRLMendes

unread,
Jun 2, 2009, 12:27:26 PM6/2/09
to Ruby on Rails: Goldberg
Hi,

Please, I need a simple help:

I use Goldberg + Activescaffold and need call a application with AS
interface.
In "Controllers and Actions" page, "Unknow" Tab appears my
applications (controllers), then I select one simple application
(CRUD) and give permission: Administer Site. If I delete controller
"xxxx.html.erb", my application appears in default Goldberg layout.
My question is: What I complete in "Action" page: Action, URL to use
and Permissions, to display AS layout?

Thanks,

Luciano Mendes

LRLMendes

unread,
Jun 5, 2009, 2:46:15 PM6/5/09
to Ruby on Rails: Goldberg
Hi,

I solve this situations using LIST in action and put in application
ROUTES.RB:

map.connect 'menu/xxxx', :controller => 'xxxx', :action => 'list'

I hope help,

Thanks,

Luciano Mendes
Reply all
Reply to author
Forward
0 new messages