I rendering a view partially like this.
<%= render(:partial => "index" ,:controller=>"controller_name") %>
so this will partially render controller_name/_index.html.erb
here is my doubt. can i write an action method for this _index. something like this?
class ControllerNameController < ApplicationController
def _index
end
end
thanks.