app/commands/decidim/meetings/admin/update_question_status.rb in decidim-meetings-0.28.4 vs app/commands/decidim/meetings/admin/update_question_status.rb in decidim-meetings-0.29.0.rc1
- old
+ new
@@ -8,11 +8,11 @@
class UpdateQuestionStatus < Decidim::Command
class InvalidStatus < StandardError; end
# Initializes a UpdateQuestionnaire Command.
#
- # form - The form from which to get the data.
# questionnaire - The current instance of the questionnaire to be updated.
+ # current_user - The current user.
def initialize(question, current_user)
@question = question
@current_user = current_user
end