I want to create my own 'show' page so I'm trying to add an
action_link.
But I can't find a way to generate a link:
http://localhost:3000/myItems/<id>

The best I can come up with is:
http://localhost:3000/myitems/show/<id>

 config.action_links.add 'Details',
                       :controller => :myitems,
                       :action => 'show',
                       :type => :record,
                       :inline => false

If I leave :action out, then it adds in an action 'details', if I
set :action => '' then I get
http://localhost:3000/myitems//<id>

Is there a way to force NO action, just a controller so it is properly
RESTful?
(I can of course add more routes, but I'm trying to a good person and
avoid that! :)

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