Conrad Taylor wrote in post #1019393:
> On Wed, Aug 31, 2011 at 7:04 AM, Bruno Meira <[email protected]>
> wrote:
>
>>
> Bruno, I would recommend reading section 4.2 of the Rails routing guide:
>

I read that, and I don't see how applying a regex to the id will help. 
How about adding :show to the :except clause and doing this:

match '/:id' => 'users/show'
resources :users, :except=>[:destroy, :show]

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to