ish_manager 0.1.8.35 → 0.1.8.36
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 612f4af3c46b7d22677a10ee633faef6855978b9
|
4
|
+
data.tar.gz: 22aace4640e3e92d5a4ab15c88a950a16914c77d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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-
|
11
|
+
date: 2017-08-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|