"If you're not getting the results you expect, run `rake routes` to see
what's actually configured."

sk...@pivnik:~/www/skurt$ rake routes
(in /home/skurt/www/skurt)
  /:controller/:action/:id
  /:controller/:action/:id.:format

Now I see I really don't want to mess with it :(

Jan



2010/7/24 Jan Kadera <[email protected]>

> "You use routing to match URLs to the content you want to serve."
> Are you telling me, that the default routing setting do not work like this:
> my ip: 1.2.3.4
> my port: 3000
> controller name: c
> action name: a
> this implies the address http://1.2.3.4:3000/c/a.html
> ???
>
> I'm asking, because I believe it work like that which means, when I start
> to change it, I'll mess the whole app up.
>
> Jan.
>
>
>
> 2010/7/21 Hassan Schroeder <[email protected]>
>
> On Tue, Jul 20, 2010 at 3:21 PM, Jan Kadera <[email protected]>
>> wrote:
>>
>> > Isn't there any more peaceful way to do it without declaring war to half
>> of
>> > the application by changing routing?
>>
>> What *are* you talking about?
>>
>> You use routing to match URLs to the content you want to serve.
>>
>> If you're not getting the results you expect, run `rake routes` to see
>> what's actually configured.
>>
>> --
>> Hassan Schroeder ------------------------ [email protected]
>> twitter: @hassan
>>
>> --
>> 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]<rubyonrails-talk%[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