I want to add action link to each record of my Programs table like this:
config.action_links.add 'Report', :controller => 'report', :action => 'new',
:type => :member, :inline => false
As you can see, this link follows to the reports controller do make a report
and it should be based on program id.
As a member link it passes an id of program in url:
http://localhost:3000/report/new/138?_method=get
But I want link like this:
http://localhost:3000/report/new/?_method=get&program_id=138
So how to pass a program_id parameter instead of id?

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