wco_models 3.1.0.96 → 3.1.0.98
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 +4 -4
- data/app/controllers/wco/leads_controller.rb +1 -1
- data/app/controllers/wco/products_controller.rb +5 -0
- data/app/controllers/wco/unsubscribes_controller.rb +1 -1
- data/app/views/wco/leads/show.haml +1 -1
- data/app/views/wco/products/new.haml +1 -1
- data/app/views/{wco_email → wco}/unsubscribes/_header.haml +1 -1
- data/config/routes.rb +2 -0
- metadata +4 -4
- /data/app/views/{wco_email → wco}/unsubscribes/_table.haml +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e44f2181d5b05ecc5c9319190b250b9ca2849027fe8cd860a46e919be4a79086
|
4
|
+
data.tar.gz: 5f3d6b29987b4f9f70a46ce1149d2d56ab7c238e7f4bf21ee8d8dee071ac1173
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 249d572896a5309d87c3ec564f5c513844931faf3b1dad13a8bd1e4947be757e8214fef18520a9630cdbb66fa85e084f8be891e1c25a0757651380a148c5ca3d
|
7
|
+
data.tar.gz: 0c796d533f3e79b24878a6d65ecc7c82cfff22cceccdc119db4da07cd0f53a5bc6cd17e5607d91c6672785c47ec9cea6277fe2075bbd748d173da0bf97c97db6
|
@@ -54,12 +54,12 @@ class Wco::LeadsController < Wco::ApplicationController
|
|
54
54
|
def show
|
55
55
|
@lead = Wco::Lead.where({ id: params[:id] }).first
|
56
56
|
@lead ||= Wco::Lead.where({ email: params[:id] }).first
|
57
|
+
authorize! :show, @lead
|
57
58
|
if !@lead
|
58
59
|
flash_alert "This lead does not exist"
|
59
60
|
redirect_to request.referrer
|
60
61
|
return
|
61
62
|
end
|
62
|
-
authorize! :show, @lead
|
63
63
|
# @schs = Sch.where( lead_id: @lead.id )
|
64
64
|
# @ctxs = Ctx.where( lead_id: @lead.id )
|
65
65
|
# @convs = Conv.find( Office::EmailConversationLead.where( lead_id: @lead.id ).map( &:email_conversation_id ) )
|
@@ -1,2 +1,2 @@
|
|
1
1
|
|
2
|
-
= render
|
2
|
+
= render 'form', product: @product
|
data/config/routes.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wco_models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.0.
|
4
|
+
version: 3.1.0.98
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Victor Pudeyev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01
|
11
|
+
date: 2024-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-s3
|
@@ -570,6 +570,8 @@ files:
|
|
570
570
|
- app/views/wco/tags/index.haml
|
571
571
|
- app/views/wco/tags/new.haml
|
572
572
|
- app/views/wco/tags/show.haml
|
573
|
+
- app/views/wco/unsubscribes/_header.haml
|
574
|
+
- app/views/wco/unsubscribes/_table.haml
|
573
575
|
- app/views/wco/videos/_form.haml
|
574
576
|
- app/views/wco/videos/_header.haml
|
575
577
|
- app/views/wco/videos/_index.haml
|
@@ -612,8 +614,6 @@ files:
|
|
612
614
|
- app/views/wco_email/email_layouts/_slug-3.html.erb
|
613
615
|
- app/views/wco_email/email_layouts/_test_tracking_footer.haml
|
614
616
|
- app/views/wco_email/email_layouts/_wasyaco_roundborders.html.erb
|
615
|
-
- app/views/wco_email/unsubscribes/_header.haml
|
616
|
-
- app/views/wco_email/unsubscribes/_table.haml
|
617
617
|
- app/views/wco_hosting/docker-compose/dc-any.erb
|
618
618
|
- app/views/wco_hosting/docker-compose/dc-helloworld.erb
|
619
619
|
- app/views/wco_hosting/docker-compose/dc-wordpress.erb
|
File without changes
|