Skip to content

Commit

Permalink
Autoload unless xsd and xslt (#20)
Browse files Browse the repository at this point in the history
* default to autoload unless xlst and xsd specified

* minor cleanup
  • Loading branch information
celuchmarek authored Aug 5, 2024
1 parent 4f15057 commit d246ead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/api/v1/documents_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def document_params
params.require(:document).require(:content)

params[:parameters] = {} unless params[:parameters]
params[:parameters][:autoLoadEform] = true unless params[:parameters][:containerXmlns]
params[:parameters][:autoLoadEform] = true unless params[:schema] && params[:transformation]

params.permit(
:encryption_key,
Expand Down

0 comments on commit d246ead

Please sign in to comment.