Friday, July 29, 2011

[Rails] Question on Namespaces and keeping Restfull

OK this is a newbie question but hope it makes sense.

Lets say for my app I have got Admins, Clients and Users. I would like
to have an area for my clients to log into and it would be under a
namespace ie.

domains.com/clients/controllers.....

But this throws a spanner in the works if I wanted to keep restfull on
my clients model.

I know maybe the easy solution would be to have a different namespace
name. Is this a normal problem by trying to keep restfull resources ?

Thanks for any advice.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate