Sha256: a2bfbb7cd015e5dda1e7de2cd38f33f5481f373fbc5e19920bb7351ee55d39da

Contents?: true

Size: 237 Bytes

Versions: 195

Compression:

Stored size: 237 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

195 entries across 195 versions & 7 rubygems

Version Path
motor-admin-0.4.12 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-0.4.11 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-pz-0.4.10 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-0.4.10 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-pz-0.4.9 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-0.4.9 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-0.4.8 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-0.4.7 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-0.4.6 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-0.4.5 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-0.4.4 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-0.4.3 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-0.4.2 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-0.4.0 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-0.3.17 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-0.3.16 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-0.3.15 lib/motor/active_record_utils/active_storage_links_extension.rb
mafia-admin-0.3.18 lib/motor/active_record_utils/active_storage_links_extension.rb
mafia-admin-0.3.17 lib/motor/active_record_utils/active_storage_links_extension.rb
mafia-admin-0.3.16 lib/motor/active_record_utils/active_storage_links_extension.rb