FIX #108, this is what happens when I should had gone to sleep :)

This commit is contained in:
Antonio C Nalesso Moreira 2013-09-02 02:23:52 +01:00
parent 1edd378cc0
commit d42819dd42
2 changed files with 3 additions and 2 deletions

View File

@ -15,9 +15,9 @@ module Impressionist
receiver.belongs_to(:impressionable, :polymorphic => true) receiver.belongs_to(:impressionable, :polymorphic => true)
end end
# returns done if thruthy
def set def set
:done if (include_attr_acc? && define_belongs_to) define_belongs_to
include_attr_acc?
end end
private private

View File

@ -50,6 +50,7 @@ module Impressionist
end end
end end
# returns done if thruthy
end end
end end