1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Actually we just want them mounted straight

This commit is contained in:
David Heinemeier Hansson 2017-07-21 16:25:11 -05:00
parent c231a73b89
commit 39f9ef122d

View file

@ -1,4 +1,4 @@
ActiveStorage::Engine.routes.draw do
Rails.application.routes.draw do
get "/rails/active_storage/disk/:encoded_key/*filename" => "active_storage/disk#show", as: :rails_disk_blob
post "/rails/active_storage/direct_uploads" => "active_storage/direct_uploads#create", as: :rails_direct_uploads