ish_manager 0.1.8.35 → 0.1.8.36

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
  SHA1:
3
- metadata.gz: e2825f4c0f04e4a145517192eb9bcdbe922a5598
4
- data.tar.gz: 2ed8a041a4edd61485b0bed42ec5644b3829a2df
3
+ metadata.gz: 612f4af3c46b7d22677a10ee633faef6855978b9
4
+ data.tar.gz: 22aace4640e3e92d5a4ab15c88a950a16914c77d
5
5
  SHA512:
6
- metadata.gz: d4361762e56f5757849561ca49d82a488b87d247727c524b18178d36122bf8d0de38f25ae79aa0dd7af325ad09c1a8868600abdef99add44bcfb5f54f00756c1
7
- data.tar.gz: 0b55bdef7523c0b979329ea1d87a6a39e2ea18c407dc043c7e20d87e1d4af23ce5533f0508593d3a7bb5c7dc85d3e17197b3f765196cd2e12603594111710cf0
6
+ metadata.gz: daa6fdfc439c55ae8c7480cd51a172f739a012056948dd3d1fd7aeca4a0b5628cf2cccd21ac27a718ef8a921b791b5251c855ad7119471b8188351259137b492
7
+ data.tar.gz: a94357491b7164dd0989677cac130fabc3a7723bec846f95a295aac60f9632ef9938f8a71602b6b404fc8b5cd1de06c91504aec70b93429e45164deb70b58797
@@ -132,6 +132,7 @@ class IshManager::FeaturesController < IshManager::ApplicationController
132
132
  authorize! :destroy_feature, @resource
133
133
  @feature = @resource.features.find params[:id]
134
134
  if @feature.destroy
135
+ @resource.touch
135
136
  flash[:notice] = :'Success.'
136
137
  else
137
138
  flash[:error] = :'No luck.'
@@ -9,3 +9,8 @@
9
9
  - unless feature.report.blank?
10
10
  %h3= link_to feature.report.name, report_path(feature.report.name_seo)
11
11
  .descr= raw feature.report.subhead
12
+ - unless feature.gallery.blank?
13
+ %h3= link_to feature.gallery.name, gallery_path(feature.gallery)
14
+ - begin
15
+ = image_tag feature.gallery.photos[0].photo.url( :thumb )
16
+ - rescue
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.35
4
+ version: 0.1.8.36
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-07 00:00:00.000000000 Z
11
+ date: 2017-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails