# Resources: allow two http verbs for custom action

**URL:** <https://www.ruby-forum.com/t/resources-allow-two-http-verbs-for-custom-action/133357>\
**Category:** Rails\
**Created:** [March 30, 2008, 9:13pm UTC](https://www.ruby-forum.com/t/resources-allow-two-http-verbs-for-custom-action/133357 "2008-03-30T21:13:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![schaf88](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b9e5f3/32.png) [@schaf88](https://www.ruby-forum.com/u/schaf88)\
**Post date:** [March 30, 2008, 9:13pm UTC](https://www.ruby-forum.com/t/resources-allow-two-http-verbs-for-custom-action/133357/1 "2008-03-30T21:13:08Z")

</div>

Hi!  
I have a very simple question: if I define a custom action on a  
resource, for example through

map.resources :projects, :member =\> {:foobar =\> :get}

how can I allow get AND delete http verbs?  
thanks  
Flo Schaf
