What is calling ApplicationController#index

I’m probably missing something very obvious here, but - I just started
noticing error messages from my log, of the form:

ActionController::RoutingError (No route matches “/bullet.gif” with
{:method=>:get}):

These immediately follow:

Processing ApplicationController#index (for 127.0.0.1 at 2009-01-19
06:51:04) [GET]

The thing is - I never call ApplicationController#index. What’s
calling this and why?

Any clues would be very much appreciated.

Yoram

On Mon, Jan 19, 2009 at 4:56 PM, [email protected] [email protected]
wrote:

06:51:04) [GET]

The thing is - I never call ApplicationController#index. What’s
calling this and why?

Any clues would be very much appreciated.

Yoram

Looks like you have a wrong image path in your application /bullet.gif
instead of /images/bullet.gif

ApplicationController is catching the call to /bullet.gif and using a
default action of index because there’s no controller specified in the
uri


Andrew T.
http://ramblingsonrails.com
http://www.linkedin.com/in/andrewtimberlake

“I have never let my schooling interfere with my education” - Mark Twain

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs