ish_manager 0.1.8.436 → 0.1.8.438
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b7fac3747efb8d55cd54cc76227c45d7ec650f0b64751826a0acfabccd0aafd
|
4
|
+
data.tar.gz: d39b81c7a0b4b2f08acb28601b3d140eab8a74da6a5c9adc8390c7cc481b5d54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0c5286339f8722de386ad28c2a3718d6412076b67ce90353dd827946d0b68ebba54071ea05a42e8b807a9779bcd3d60be87b39e1bf154314077f5d51ddbdc89
|
7
|
+
data.tar.gz: 984702f49949054f14c76daf7738da6bf83eaf3db180291a86f7c2b2b298d763c09f388773032cffe6190a5f5f52ec3ba8ce8d92573c53376f16768b598f4f9f
|
@@ -10,6 +10,13 @@ class IshManager::ReportsController < IshManager::ApplicationController
|
|
10
10
|
@report.user_profile = @current_profile # @TODO: this should not be hard-coded
|
11
11
|
authorize! :create, @report
|
12
12
|
|
13
|
+
old_shared_profile_ids = @report.shared_profiles.map(&:id)
|
14
|
+
if params[:report][:shared_profiles].present?
|
15
|
+
params[:report][:shared_profiles].delete('')
|
16
|
+
end
|
17
|
+
params[:report][:shared_profile_ids] = params[:report][:shared_profiles]
|
18
|
+
params[:report].delete :shared_profiles
|
19
|
+
|
13
20
|
flag = @report.save
|
14
21
|
respond_to do |format|
|
15
22
|
if flag
|
@@ -26,7 +26,7 @@
|
|
26
26
|
= link_to n.report.name, report_path(n.report.slug)
|
27
27
|
= link_to "[~]", edit_report_path(n.report)
|
28
28
|
.meta
|
29
|
-
on #{pretty_date n.report.created_at} by #{n.report.
|
29
|
+
on #{pretty_date n.report.created_at} by #{n.report.user_profile&.name || '<anonymous>'}
|
30
30
|
- unless n.report.photo.blank?
|
31
31
|
.thumb= link_to image_tag(n.report.photo.photo.url(:thumb), :alt => ''), report_path( n.report.slug )
|
32
32
|
.subhead= n.report.subhead
|
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.438
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- piousbox
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
11
|
+
date: 2023-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|