Map.resource for a plugin

I’m playing around with this plugin and I wanted to use REST in edge
for it. Mostly because it’s there. :wink:

I’m actually having problems with how to make the map.resource for it
though. The controllers name is Tumbleror and the models name is
TumblerorPost. How do I actually make the map.resource command for
that so it’s makeing a resource at the url /tumbleror. Can I in some
way specify in the resource command the name difference between the
model and the controller.

I know that a lot of problems can be solved by making both the
controller and the model be named Post but since this is a plugin I
need to make sure I don’t conflict with anything already in existance.

No matter. Figured out what my real problem was. Defining routes in
plugins is not as nice in edge rails it seems.

On 8/6/06, Jon Gretar B. [email protected] wrote:

I know that a lot of problems can be solved by making both the
controller and the model be named Post but since this is a plugin I
need to make sure I don’t conflict with anything already in existance.

Jon Gretar B.
http://www.jongretar.net/