Skip to content

Commit

Permalink
QR Code Print: Add More Allowed Params (#2045)
Browse files Browse the repository at this point in the history
  • Loading branch information
pglombardo authored Apr 11, 2024
1 parent 3f39996 commit 3389e66
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/controllers/file_pushes_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,6 @@ def file_push_params
end

def print_preview_params
params.permit(:message, :show_expiration, :show_id)
params.permit(:id, :locale, :message, :show_expiration, :show_id)
end
end
2 changes: 1 addition & 1 deletion app/controllers/passwords_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,6 @@ def password_params
end

def print_preview_params
params.permit(:message, :show_expiration, :show_id)
params.permit(:id, :locale, :message, :show_expiration, :show_id)
end
end
2 changes: 1 addition & 1 deletion app/controllers/urls_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,6 @@ def url_params
end

def print_preview_params
params.permit(:message, :show_expiration, :show_id)
params.permit(:id, :locale, :message, :show_expiration, :show_id)
end
end

0 comments on commit 3389e66

Please sign in to comment.