Routing Error

Hi All,

While i'm trying to load a page in the browser, i'm getting the following error.

No route matches "/applications/youtube/index.html" with {:method=>:get}

ActionController::RoutingError (No route matches "/applications/youtube/index.html" with {:method=>:get}):   /usr/lib/ruby/1.8/action_controller/routing/recognition_optimisation.rb:66:in `recognize_path'   /usr/lib/ruby/1.8/action_controller/routing/route_set.rb:441:in `recognize'   /usr/lib/ruby/1.8/action_controller/routing/route_set.rb:436:in `call'   /usr/lib/ruby/1.8/action_controller/dispatcher.rb:87:in `dispatch'   /usr/lib/ruby/1.8/action_controller/dispatcher.rb:121:in `_call'   /usr/lib/ruby/1.8/action_controller/dispatcher.rb:130:in `build_middleware_stack'   /usr/lib/ruby/1.8/action_controller/string_coercion.rb:25:in `call'   /usr/lib/ruby/1.8/action_controller/string_coercion.rb:25:in `call'   /usr/lib/ruby/1.8/rack/head.rb:9:in `call'   /usr/lib/ruby/1.8/rack/methodoverride.rb:24:in `call'   /usr/lib/ruby/1.8/action_controller/params_parser.rb:15:in `call'   /usr/lib/ruby/1.8/action_controller/session/cookie_store.rb:93:in `call'   /usr/lib/ruby/1.8/action_controller/failsafe.rb:26:in `call'   /usr/lib/ruby/1.8/rack/lock.rb:11:in `call'   /usr/lib/ruby/1.8/rack/lock.rb:11:in `synchronize'   /usr/lib/ruby/1.8/rack/lock.rb:11:in `call'   /usr/lib/ruby/1.8/action_controller/dispatcher.rb:114:in `call'   /usr/lib/ruby/1.8/action_controller/reloader.rb:34:in `run'   /usr/lib/ruby/1.8/action_controller/dispatcher.rb:108:in `call'   /usr/lib/ruby/1.8/rack/urlmap.rb:47:in `call'   /usr/lib/ruby/1.8/rack/urlmap.rb:41:in `each'   /usr/lib/ruby/1.8/rack/urlmap.rb:41:in `call'   /usr/lib/ruby/1.8/rack/content_length.rb:13:in `call'   /usr/lib/ruby/1.8/rack/handler/webrick.rb:48:in `service'   /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'   /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'   /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'   /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'   /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'   /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'   /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'   /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'   /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'   /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'   /usr/lib/ruby/1.8/rack/handler/webrick.rb:14:in `run'

Rendering rescues/layout (not_found)

Please help me. I'm not able to rectify the bug.

Thanks, Buvana

please post some code here yours controllers index method and routs.rb line which contains this URL

Hi Kannav,

Thank you for your support. I have mistyped url in routes, so the issue arose. Now it is solved.

Thanks, Buvana

Kannav R. wrote in post #966458:

please post some code here yours controllers index method and routs.rb line which contains this URL

/usr/lib/ruby/1.8/action_controller/routing/recognition_optimisation.rb:66:in /usr/lib/ruby/1.8/rack/head.rb:9:in `call' /usr/lib/ruby/1.8/action_controller/dispatcher.rb:108:in `call' /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'

To unsubscribe from this group, send email to

rubyonrails-talk+unsubscribe@googlegroups.com<rubyonrails-talk%2Bunsubscribe@googlegroups.com>