aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/config/routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activestorage/config/routes.rb')
-rw-r--r--activestorage/config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activestorage/config/routes.rb b/activestorage/config/routes.rb
index 3af7361cff..bde53e72f3 100644
--- a/activestorage/config/routes.rb
+++ b/activestorage/config/routes.rb
@@ -29,4 +29,4 @@ Rails.application.routes.draw do
resolve("ActiveStorage::Blob") { |blob, options| route_for(:rails_blob, blob, options) }
resolve("ActiveStorage::Attachment") { |attachment, options| route_for(:rails_blob, attachment.blob, options) }
-end
+end if ActiveStorage.draw_routes