Mercurial > hg > soundsoftware-site
view .svn/pristine/d5/d5702bcdc6e61efeb5c6de92cb904d7e57f2c46b.svn-base @ 1388:cfa9122bb584 luisf
Removed unnecessary code; added useful comment.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Wed, 25 Sep 2013 17:42:46 +0100 |
parents | cbb26bc654de |
children |
line wrap: on
line source
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