From a2b4c4590dea5035b22a537e81ef6b79ea020b09 Mon Sep 17 00:00:00 2001 From: Rafael Reggiani Manzo Date: Thu, 12 May 2016 11:00:55 -0300 Subject: [PATCH] Remove EventBlock#content method --- plugins/event/lib/event_plugin/event_block.rb | 10 ---------- 1 file changed, 0 insertions(+), 10 deletions(-) diff --git a/plugins/event/lib/event_plugin/event_block.rb b/plugins/event/lib/event_plugin/event_block.rb index 9844bde..43f9313 100644 --- a/plugins/event/lib/event_plugin/event_block.rb +++ b/plugins/event/lib/event_plugin/event_block.rb @@ -47,16 +47,6 @@ class EventPlugin::EventBlock < Block event_list end - def content(args={}) - block = self - proc do - render( - :file => 'blocks/event', - :locals => { :block => block } - ) - end - end - def human_time_left(days_left) months_left = (days_left/30.0).round if days_left <= -60 -- libgit2 0.21.2