profile_search_block.rb 271 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 class ProfileSearchBlock < Block def self.description _('Display a form to search the profile') end def content(args={}) title = self.title lambda do |_| render :file => 'blocks/profile_search', :locals => { :title => title } end end end