caboose-rets 0.1.159 → 0.1.160
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: 106928e78d7792efebea72b4795d86cbc0b814cc247d1e106fb0900fd9c847ac
|
4
|
+
data.tar.gz: 629eda15b6171c341f8a4066f9049474c397c4cef1b0b217aeae85af1c2c0271
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e62d94b816ffd023b43cdf7e7f5e6487e16b0dada02d45a4f744e12ae8003b948e23e9ee8bc1e4799d4054a3f0438f1de982c7286caee4e95cde598f314eb4b0
|
7
|
+
data.tar.gz: 14ccf63ffdf052287b18790fa18af4937c08b79afa30a20d29413f140ce5c0d73dade5674b38663c87e6fb5657e7227e3e56d62413706ee298a5bde8c9912130
|
@@ -19,6 +19,7 @@ module CabooseRets
|
|
19
19
|
def save
|
20
20
|
return if !verify_logged_in
|
21
21
|
resp = Caboose::StdClass.new
|
22
|
+
# test
|
22
23
|
if SavedProperty.exists?(:user_id => logged_in_user.id, :mls_number => params[:mls])
|
23
24
|
resp.success = true
|
24
25
|
else
|
@@ -47,7 +48,7 @@ module CabooseRets
|
|
47
48
|
# def toggle_save
|
48
49
|
# return if !verify_logged_in
|
49
50
|
# resp = Caboose::StdClass.new
|
50
|
-
|
51
|
+
|
51
52
|
# if SavedProperty.where(:user_id => logged_in_user.id, :mls => params[:mls]).exists?
|
52
53
|
# SavedProperty.where(:user_id => logged_in_user.id, :mls => params[:mls]).destroy_all
|
53
54
|
# resp.saved = false
|
data/lib/caboose_rets/version.rb
CHANGED