rails-image-post-solution 0.1.18 → 0.1.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c757e3042b09a8e5f9f993c124dfc032a18ac5b452f9f7af19dec46d55b0a122
4
- data.tar.gz: 70176cf82368b13be78cc268d3f929a43dd742ac78467e5eae9f80b7c0ae5fc1
3
+ metadata.gz: da2ff92d037627dc03bcd5d5bc7b7e7a8889552ed233fbe7bfc84b93b871147a
4
+ data.tar.gz: bad66fcc11a57977c1f0bdb8028802d59e27463471fb1853d6a9dff0b258afdb
5
5
  SHA512:
6
- metadata.gz: bf21964848ba780e9ed3388a347bdcc5cf5b9379bdf167e8ccdc477da5f08e5856c77f5a9a86f5e772664d724922084c0d8b8d26ce651c6254500e2dde6e20f1
7
- data.tar.gz: 32e73d2ddf11bc9fa1e2805fc24503fa84d10d5438c10772b376fd7e48e3dfc2290b011c231bf9fa7cb6f831d2446f87cd1d8932dd709ba6a84c95186564c6be
6
+ metadata.gz: 679d7795502d6e18f4916932a16076309056964e3cee8adfec02ee6e2b6f9a54d9130aebb8300d831f0135e2c7b3756e8d041377ef5f504868638e635ada1ad4
7
+ data.tar.gz: 411fbecd9a830f7128c092fed031a055d8e4e844b0433b38a4d052c4f25219fda2d65dc578bb9a17535291c8db0340b85ccdba6f2f71b23f72a14aca1926c665
@@ -54,7 +54,7 @@
54
54
  <tr class="report-row status-<%= report.status %>">
55
55
  <td class="image-cell">
56
56
  <% if report.active_storage_attachment.present? %>
57
- <%= image_tag report.active_storage_attachment.blob, class: "admin-thumbnail", style: "max-width: 100px; max-height: 100px;" %>
57
+ <%= image_tag url_for(report.active_storage_attachment), class: "admin-thumbnail", style: "max-width: 100px; max-height: 100px;" %>
58
58
  <% else %>
59
59
  <span class="text-muted"><%= t('rails_image_post_solution.admin.index.deleted') %></span>
60
60
  <% end %>
@@ -7,7 +7,7 @@
7
7
  <h3><%= t('rails_image_post_solution.admin.show.reported_image') %></h3>
8
8
  <% if @attachment.present? %>
9
9
  <div class="reported-image-container">
10
- <%= image_tag @attachment.blob, class: "reported-image-large", style: "max-width: 800px; max-height: 600px;" %>
10
+ <%= image_tag url_for(@attachment), class: "reported-image-large", style: "max-width: 800px; max-height: 600px;" %>
11
11
  </div>
12
12
  <% else %>
13
13
  <p class="text-muted"><%= t('rails_image_post_solution.admin.show.image_deleted') %></p>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsImagePostSolution
4
- VERSION = "0.1.18"
4
+ VERSION = "0.1.19"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-image-post-solution
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.18
4
+ version: 0.1.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - dhq_boiler