What is calling ApplicationController#index


#1

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


#2

On Mon, Jan 19, 2009 at 4:56 PM, removed_email_address@domain.invalid removed_email_address@domain.invalid
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