# What is calling ApplicationController#index

**URL:** <https://www.ruby-forum.com/t/what-is-calling-applicationcontroller-index/158125>\
**Category:** Rails\
**Created:** [January 19, 2009, 3:56pm UTC](https://www.ruby-forum.com/t/what-is-calling-applicationcontroller-index/158125 "2009-01-19T15:56:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [January 19, 2009, 3:56pm UTC](https://www.ruby-forum.com/t/what-is-calling-applicationcontroller-index/158125/1 "2009-01-19T15:56:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [January 19, 2009, 4:01pm UTC](https://www.ruby-forum.com/t/what-is-calling-applicationcontroller-index/158125/2 "2009-01-19T16:01:34Z")

</div>

On Mon, Jan 19, 2009 at 4:56 PM, removed\_email\_address@domain.invalid [removed\_email\_address@domain.invalid](mailto: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://ramblingsonrails.com)  
[http://www.linkedin.com/in/andrewtimberlake](http://www.linkedin.com/in/andrewtimberlake)

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