wco_models 3.1.0.96 → 3.1.0.97
Sign up to get free protection for your applications and to get access to all the features.
- 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/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: 6d142884790cc222d2fa26774efd391452b802f59ea8c57e30086cf73cb126ce
|
4
|
+
data.tar.gz: cf126ee217e6974ffe1e424d8b43b74200e1bcb4456e931f58f29425ab2774e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1dfa0e5f9a271f01890e488b0ead7a17cc9abdb24b2b6e75deca5dafc5708c304ce8441169a260de391016a6dabc2fa86ca3e46dcf2e66ba311044096f210603
|
7
|
+
data.tar.gz: 931258fd6144687e45a0b24acd6b0ebf3e0346a0930fee68d5d44bb2d2f97e8b2c055e193e7e7d1023d4636bfc0cf58ff3259cf6f263cbc9755476faec308e27
|
@@ -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.97
|
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
|