Skip to content

Commit

Permalink
Rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
frbl committed Apr 15, 2019
1 parent b73dd65 commit df18492
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/controllers/api/v1/questionnaire_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ def show

def create
raw_questionnaire_content = JSON.parse(params[:content])
raw_questionnaire_content = raw_questionnaire_content.map{|entry| entry.with_indifferent_access}
Rails.logger.info raw_questionnaire_content
questionnaire = Questionnaire.all.first
raw_questionnaire_content = raw_questionnaire_content.map(&:with_indifferent_access)
@content = QuestionnaireGenerator.new.generate_questionnaire(
response_id: nil,
content: raw_questionnaire_content,
Expand Down

0 comments on commit df18492

Please sign in to comment.