PHP/5.2.4-2ubuntu5.1 with Suhosin-Patch
I've created several scaffolds that all work, and am trying to set the
root page for this app to default to one of the methods. Here's my
ActionController::Routing::Routes.draw do |map|
map.root :controller => 'inventory_items'
when I go to my root URI, I get the same old "Welcome aboard!" page.
To make things even more weird, I can modify and/or delete the
index.html page that is being displayed, with or without the map.root
entry, and the *exact* same page is displayed anyway. I've even grepped
every file in this application to make sure there is no other file with
the word "Welcome" in it, and there isn't.
I've restarted apache every time I make a modificaiton to the routes.rb,
just in case it's caching some how.
It looks like the only way I'll be able to override the index of the
root of the application is to rewrite the URI in the apache
configuration, to change "/" to "/my_method/my_action".
Anybody else have a problem like this?