profile_search_block.rb 259 Bytes Edit Raw Blame History 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={}) block = self proc do render :file => 'blocks/profile_search', :locals => { :block => block } end end end