# Which files are rendered for an URL

**URL:** <https://www.ruby-forum.com/t/which-files-are-rendered-for-an-url/184957>\
**Category:** Rails\
**Created:** [March 11, 2010, 1:06am UTC](https://www.ruby-forum.com/t/which-files-are-rendered-for-an-url/184957 "2010-03-11T01:06:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![arvias](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ac91a4/32.png) [@arvias](https://www.ruby-forum.com/u/arvias)\
**Post date:** [March 11, 2010, 1:06am UTC](https://www.ruby-forum.com/t/which-files-are-rendered-for-an-url/184957/1 "2010-03-11T01:06:36Z")

</div>

Hi,

Is there a way I can figure out which files are run for a specific URL  
in a controller or a script?

Given [http://www.planet.com/countries](http://www.planet.com/countries) files like: countries/  
index.html.erb, countries/\_country.html.erb, layouts/  
application.html.erb and so on.

## Thank You

M.
