blob: 0deb5d9d3fd2cac06789ce083417db60d73ce876 (
plain)
1
2
3
4
5
6
7
|
module RenderInformation
def render_class_and_action(note = nil, options={})
text = "rendered in #{self.class.name}##{params[:action]}"
text += " (#{note})" unless note.nil?
render options.update(:text => text)
end
end
|