Skip to content

Commit

Permalink
Stop using the paperclip adapter in the main installer
Browse files Browse the repository at this point in the history
When `--active_storage=false` is used in for the main installer
we can use the new generator to copy the adapter in the host
application.
  • Loading branch information
kennyadsl committed May 30, 2023
1 parent 6837264 commit 8827475
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/generators/solidus/install/install_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def install_file_attachment
rake 'active_storage:install'
else
say_status :assets, "Paperclip", :green
gsub_file 'config/initializers/spree.rb', "::ActiveStorageAttachment", "::PaperclipAttachment"
rake "solidus:paperclip_adapter:install"
end
end

Expand Down

0 comments on commit 8827475

Please sign in to comment.