Module: Motor::ActiveRecordUtils::ActiveStorageLinksExtension

Defined in:
lib/motor/active_record_utils/active_storage_links_extension.rb

Instance Method Summary collapse

Instance Method Details

#pathObject


6
7
8
# File 'lib/motor/active_record_utils/active_storage_links_extension.rb', line 6

def path
  Rails.application.routes.url_helpers.rails_blob_path(self, only_path: true)
end