Remove useless method call

This commit is contained in:
ccocchi 2012-07-03 15:31:17 +02:00
parent 4747cd95c1
commit 57366b7fd6
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ module RablRails
def node(name, options = {}, &block)
condition = options[:if]
if condition.present?
if condition
if condition.is_a?(Proc)
@template[name] = [condition, block]
else