On 26 April 2011 13:22, amrit pal pathak <amritpalpath...@gmail.com> wrote:
>
>
> On Apr 26, 7:54 am, Frederick Cheung <frederick.che...@gmail.com>
> wrote:
>> On 26 Apr 2011, at 10:51, amrit pal pathak <amritpalpath...@gmail.com> wrote:
>>
>> > Generated a controller "rails generate controller say" and then added
>> > a method to id named hello as.
>>
>> You need to add a route to the action. Colin discussed this with you at some 
>> length last week.
>        Yes he discussed ,but thats was only if i want to see hello
> action at "localhost:3000".   But to see hello method at "localhost:
> 3000/say/hello" doesn't need any routing settings.

Yes it does.  Go and read the Rails Guide on routing again.

Colin

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to