I'm getting a Routing error when trying to access my page.
Routing Error
No route matches "/" with {:method=>:get}
The error log reads:
[4;36;1mSQL (0.1ms)[0m [0;1mSET NAMES 'utf8'[0m
[4;35;1mSQL (0.0ms)[0m [0mSET SQL_AUTO_IS_NULL=0[0m
Processing ApplicationController#index (for 68.116.193.166 at 2010-10-11 19:18:16) [GET]
ActionController::RoutingError (No route matches "/" with {:method=>:get}):
config/initializers/mongrel.rb:62:in `dispatch_cgi'
Rendering rescues/layout (not_found)
Usually when I see this I check that the route is defined in config/routes.rb, and they are. So I figured maybe I can access /new by typing it in which gave me the following error.
Routing Error
No route matches **"//new"** with {:method=>:get}
With the following in development.log
[4;36;1mSQL (0.1ms)[0m [0;1mSET NAMES 'utf8'[0m
[4;35;1mSQL (0.0ms)[0m [0mSET SQL_AUTO_IS_NULL=0[0m
Processing ApplicationController#index (for 68.116.193.166 at 2010-10-11 19:18:21) [GET]
ActionController::RoutingError (No route matches "//new" with {:method=>:get}):
config/initializers/mongrel.rb:62:in `dispatch_cgi'
Rendering rescues/layout (not_found)
My setup: Rails: 2.3.8 Ruby: 1.8.7 RubyGems: 1.3.7 Mongrel: 1.1.5
I find it odd that using the address /imgs/new returns the path "//new". I've been stressing over this for a few days and have gotten nowhere with finding answers. Hopefully someone knows how to fix this that can point out what I'm missing here. Thanks in Advance