Commit 7621915dc506a432281ab421df256df75e67c84f
1 parent
a8dac7fc
Exists in
master
and in
29 other branches
Removing unused code
Showing
1 changed file
with
0 additions
and
5 deletions
Show diff stats
app/helpers/boxes_helper.rb
@@ -115,11 +115,6 @@ module BoxesHelper | @@ -115,11 +115,6 @@ module BoxesHelper | ||
115 | (1..8).to_a.reverse.inject(content) { |acc,n| content_tag('div', acc, :id => 'main-content-wrapper-' + n.to_s) } | 115 | (1..8).to_a.reverse.inject(content) { |acc,n| content_tag('div', acc, :id => 'main-content-wrapper-' + n.to_s) } |
116 | end | 116 | end |
117 | 117 | ||
118 | - def noosfero_wrap(&block) | ||
119 | - text = capture(&block) | ||
120 | - concat(wrap_main_content(text), block.binding) | ||
121 | - end | ||
122 | - | ||
123 | def extract_block_content(content) | 118 | def extract_block_content(content) |
124 | case content | 119 | case content |
125 | when Hash | 120 | when Hash |