ish_manager 0.1.8.387 → 0.1.8.389

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: 69f00f3a091162a2aa2b6535f519bd2a9437984131334224bbd8936fe9bf0bac
4
- data.tar.gz: d3272e499c6b92122a07cac2879f62fa38ea2f44a09562728b6adb7c89d1ab33
3
+ metadata.gz: 2d61078f364c65df5321e0ae8843989c26eab40227a27686fc1ebd2eb63afdc1
4
+ data.tar.gz: e717234a99752fd8480eb7b660bc6ed01c09f57a491579d606fdacbb4b1b0011
5
5
  SHA512:
6
- metadata.gz: fc3f0866b54220116e7ebdac586f19a0333c973b1adfc819ab66ed03a10e691801a09a7dba0baced8cd10079b2078becb9c39c484c0724613177cb0350328818
7
- data.tar.gz: e3a7dda50885710cb50c784e5d6185dd78c31c0c1fdc3779922ee4523efa073ef761e93c4fb553054d82db8da659f95ad1e516fa8afc29ae4935c1892cb324c8
6
+ metadata.gz: fcc2a1b36ad8c106fb5a2139d89553dfa43fc31fdb6fa1355cd6459b619f3915d34711cc5cd8acff820c9e64dd48cb9d24b20110d99cf4d48079ae226a6baf59
7
+ data.tar.gz: df3947ade44b71723827ea3a8555c0f90c93ed45acb71d9f4cef84cd7c2c5df364369a311486b0007c627f7844e5e49ab0b409ad121c90a14314a2485c721160
@@ -57,16 +57,16 @@ class IshManager::OfficeMailer < IshManager::ApplicationMailer
57
57
 
58
58
  def send_context_email ctx_id
59
59
  @ctx = ::Ish::EmailContext.find ctx_id
60
- ac = ActionController::Base.new
60
+ ac = ActionController::Base.new
61
61
  ac.instance_variable_set( :@ctx, @ctx )
62
62
 
63
- rendered_str = ac.render_to_string("ish_manager/email_templates/_#{@ctx.tmpl.slug}")
63
+ rendered_str = ac.render_to_string("ish_manager/email_templates/_#{@ctx.tmpl.layout}")
64
64
  @ctx.update( rendered_str: rendered_str, sent_at: Time.now.to_s )
65
65
 
66
- mail( from: @email_ctx.from_email,
67
- to: @email_ctx.to_email,
66
+ mail( from: @ctx.from_email,
67
+ to: @ctx.to_email,
68
68
  bcc: 'piousbox@gmail.com',
69
- subject: @email_ctx.subject,
69
+ subject: @ctx.subject,
70
70
  template_name: "render/_#{@ctx.tmpl.slug}" )
71
71
  end
72
72
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.387
4
+ version: 0.1.8.389
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox