i already added
 resources :todos do
      member do
    get 'say_when'
  end
  end
now its print                DELETE /tiptags/:id(.:format)
      {:action=>"destroy", :controller=>"tiptags"}
  say_when_todo GET    /todos/:id/say_when(.:format)
{:action=>"say_when", :controller=>"todos"}
          todos GET    /todos(.:format)
{:action=>"index", :controller=>"todos"}
                POST   /todos(.:format)
{:action=>"create", :controller=>"todos"}
       new_todo GET    /todos/new(.:format)
{:action=>"new", :controller=>"todos"}
      edit_todo GET    /todos/:id/edit(.:format)
{:action=>"edit", :controller=>"todos"}
           todo GET    /todos/:id(.:format)
{:action=>"show", :controller=>"todos"}
                PUT    /todos/:id(.:format)
{:action=>"update", :controller=>"todos"}
                DELETE /todos/:id(.:format)
{:action=>"destroy", :controller=>"todos"}

but the same happens

On Sat, Feb 12, 2011 at 4:37 PM, Lorenzo Brito Morales
<[email protected]> wrote:
> is not, how i do that ?
>
>  todos GET    /todos(.:format)
> {:action=>"index", :controller=>"todos"}
>                POST   /todos(.:format)
> {:action=>"create", :controller=>"todos"}
>       new_todo GET    /todos/new(.:format)
> {:action=>"new", :controller=>"todos"}
>      edit_todo GET    /todos/:id/edit(.:format)
> {:action=>"edit", :controller=>"todos"}
>           todo GET    /todos/:id(.:format)
> {:action=>"show", :controller=>"todos"}
>                PUT    /todos/:id(.:format)
> {:action=>"update", :controller=>"todos"}
>                DELETE /todos/:id(.:format)
> {:action=>"destroy", :controller=>"todos"}
>           tags GET    /tags(.:format)
> {:action=>"index", :controller=>"tags"}
>                POST   /tags(.:format)
> {:action=>"create", :controller=>"tags"}
>        new_tag GET    /tags/new(.:format)
> {:action=>"new", :controller=>"tags"}
>
> On Sat, Feb 12, 2011 at 4:34 PM, bourne <[email protected]> wrote:
>> Did you define it in your routes.rb?
>> What is the output of rake routes?
>>
>> --
>> 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.
>>
>

-- 
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