Re: Renaming RESTful actions

Jason Roelofs
Fri, 16 Mar 2007 20:11:27 -0000

On 3/16/07, François Beausoleil
<francois.beausoleil-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
>
> 2007/3/16, Jason Roelofs
<jameskilton-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:
> > I know that the old routing is still available, I''m trying to
stay away
> from
> > it as much as I can. The problem I have with REST right now is that
> there is
> > no "accepted spec" for doing REST, if that makes any sense.
When it
> comes to
> > controllers that are a little more complex than just serving up a view
> to a
> > model, is it ok to drop out of REST? What is the point that a site is
> > no-longer RESTful?
>
> You have to be pragmatic.  If the REST philosophy doesn''t fit a
> particular case, well, don''t bother.
>
> Hope that helps !
> --
> François Beausoleil
> http://blog.teksol.info/
> http://piston.rubyforge.org/


It *does* fit. All I''m trying to do is rename the action being used by
the
POST action (default create, I want to rename it to upload). Is this
possible?