# About views problem!

**URL:** <https://www.ruby-forum.com/t/about-views-problem/196503>\
**Category:** Rails\
**Created:** [October 25, 2007, 7:08pm UTC](https://www.ruby-forum.com/t/about-views-problem/196503 "2007-10-25T19:08:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![OnRails](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/51bf81/32.png) [@OnRails](https://www.ruby-forum.com/u/OnRails)\
**Post date:** [October 25, 2007, 7:08pm UTC](https://www.ruby-forum.com/t/about-views-problem/196503/1 "2007-10-25T19:08:25Z")

</div>

Hi, everyone!  
I have a question. when I created a controller and a action like this:

class EverythingController \< ApplicationController  
def index  
end

def findname  
content=“here is test”  
render :text =\> content, :layout =\> false  
end  
…  
end  
in other controller’s .rhtml, I used  
\<%= render\_component :controller =\> “everything”, :action =\>  
“findname” %\>

so, Do I need create a template \_findname.rhtml for findname action?  
I don’t think I need it, because I just render content, not anything.  
but when I do function test, there is error: Misstemplate  
\_findname.rhtml  
so I don’t understand this error.  
who can tell me why? and how can fix it, Thanks!
