ish_manager 0.1.8.91 → 0.1.8.92
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/ish_manager/galleries_controller.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84651c4fff4130bd6d48b9281145253ff163c70c
|
4
|
+
data.tar.gz: 0ea55db96485f23ee41691732a646ea701562aae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fbf0675b4299b66f8b31d8740026da59c29ce100d7b427b5291df33ed718840542ddc841f30098969ac7c5d2395088c1a34a44be98421c79506f8b72fb50235
|
7
|
+
data.tar.gz: fc1bc1a554ca1abf4be81577df31b52609b0d5def524f0c36c3d31d1446d8300d103c80a05efdbfdd5dd77c2707a9f84f7f1407249fcd2c1cd496465e6cd3dd3
|
@@ -66,6 +66,7 @@ class IshManager::GalleriesController < IshManager::ApplicationController
|
|
66
66
|
authorize! :update, @gallery
|
67
67
|
params[:gallery][:shared_profiles].delete('')
|
68
68
|
params[:gallery][:shared_profiles] = IshModels::UserProfile.find params[:gallery][:shared_profiles]
|
69
|
+
puts! params[:gallery][:shared_profiles], 'shared profiles'
|
69
70
|
if @gallery.update_attributes( params[:gallery].permit! )
|
70
71
|
new_shared_profiles = params[:gallery][:shared_profiles].select { |p| !old_shared_profile_ids.include?( p.id ) }
|
71
72
|
::IshManager::ApplicationMailer.shared_galleries( new_shared_profiles, @gallery ).deliver
|