Commit 32d3f0fb2fb5434263f3178bf9f08da0ac9d77c3
1 parent
c25edc80
Exists in
web_steps_improvements
and in
9 other branches
Remove content from ProfileListBlock
This was a missing refactor from bbf064e9b984a6ca29ff543e486f5b256bc46b2d.
Showing
1 changed file
with
0 additions
and
7 deletions
Show diff stats
app/models/profile_list_block.rb
| ... | ... | @@ -40,13 +40,6 @@ result = public_profiles.all(:limit => get_limit, :order => 'profiles.updated_at |
| 40 | 40 | _('Clicking on the people or groups will take you to their home page.') |
| 41 | 41 | end |
| 42 | 42 | |
| 43 | - def content(args={}) | |
| 44 | - block = self | |
| 45 | - proc do | |
| 46 | - render :file => 'blocks/profile_list', :locals => { :block => block } | |
| 47 | - end | |
| 48 | - end | |
| 49 | - | |
| 50 | 43 | def view_title |
| 51 | 44 | title.gsub('{#}', profile_count.to_s) |
| 52 | 45 | end | ... | ... |