app/presenters/woople_theme/question_presenter.rb in woople-theme-0.6.11 vs app/presenters/woople_theme/question_presenter.rb in woople-theme-0.6.12
- old
+ new
@@ -5,10 +5,10 @@
enforce_definitions :id, # Response id used in the form
:question, # Text of the question
:answers # Set of options/answers for the question
def answers
- ThemePresentation.wrap_collection(__getobj__.answers, WoopleTheme::AnswerPresenter)
+ ThemePresentation.wrap_collection(@delegate.answers, WoopleTheme::AnswerPresenter)
end
end
end