it''s been beaten to death already, but if you need more than those
default
functions, you should look at designing your application differently. A
department sounds like a separate resource, where you would show a
department, edit a department, list a department, etc...
/users/bphogan/department => shows my department.
/users/ => a user list
RESTful architecture means breaking things down more by resource. Sometimes
you have more controllers this way.
On Wed, Jul 30, 2008 at 12:20 AM, babu nair <
rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:
>
> Hi
> Can any one help is RESTful architecture is only for default
> functions like (index,create,update,delete) or we can do for own
> functions like
>
> def department
> end
>
> def user_list
> end
>
> like these functions also is it possible to write RESTful architecture.
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---