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.26 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-0.4.25 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-0.4.24 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-0.4.23 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-pz-0.4.22 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-0.4.22 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-pz-0.4.21 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-0.4.21 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-0.4.20 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-0.4.19 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-pz-0.4.18.1 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-0.4.18 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-0.4.17 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-alexandermohan-admin-panel-0.4.161 lib/motor/active_record_utils/active_storage_links_extension.rb
alexandermohan-admin-panel-0.4.161 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-0.4.16 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-pz-0.4.14 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-0.4.15 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-0.4.14 lib/motor/active_record_utils/active_storage_links_extension.rb
motor-admin-0.4.13 lib/motor/active_record_utils/active_storage_links_extension.rb