do i need to havea route for every controller ? its just an hello world. i didn worked the day i created .. next day it was working ... gonna create a new one !!
On Wed, Apr 15, 2009 at 6:01 PM, GreenAsJade <[email protected]>wrote: > > Hmm - I can't see how to do it on herokugarden either, which is a > pretty strong sign you shouldn't have to. > > Well, I forgot to ask you the most obvious question. > > Did you exectute "rake routes" task? > > In herokugarden you click on the cog in the bottom left, select rake, > wait for the window, and type "routes" at the prompt. > > If this doesn't list your hello controller with an index route, you > first have to ask yourself, did you put the route into config/ > routes.rb? > > My answer of thinking about server restart etc assumed you're > confident you have coded the route properly... maybe you don't? > > You need to find the answer to the question "what is it in my > routes.rb that ensures I have hello/index as a route?". If you are > confident with this, you'd return to other questions like server > restart or somefink... > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Heroku" 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/heroku?hl=en -~----------~----~----~----~------~----~------~--~---
