ish_manager 0.1.8.336 → 0.1.8.337

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 28209cd961617c020d01031f836cf312836b759a59f93a4126d96e16e8638f25
4
- data.tar.gz: 87ba7d3183fb3ce417df0e55daa16c7c4586b07ab1a1ace13138caabc1c6e35a
3
+ metadata.gz: 119cb9a058b27d517c73af8cd483ef96e264dcda487df9e38fa92c2841a66865
4
+ data.tar.gz: 3e0fcbbfdab6c79f9cd0c14fbd0ca68c6ebb6e63625e22bc0fdcf8f39ee24075
5
5
  SHA512:
6
- metadata.gz: 9f11d03c08dd05be68126116be45baccc904146d2739916cfce79cf9f251e1658952a0eb6366ba9b48decde688c5e53a046928dfe0729520d7ad905b7687e969
7
- data.tar.gz: 46d41f6306aaafe4c4638b6ca98edfc842639c57762e8917204e79b11f994af3f5cabd83a9808741436019ed5758193a2254041299058c1c2e1d6735a35bba03
6
+ metadata.gz: 8f467be2339eb8bce1c1eeaefe9327fbdbd30fecddfc29f8f88b81fa47d9c9e3ef718655062d710742a8eaf4d029640215b86613b86f65d7cb14a9994f2a0528
7
+ data.tar.gz: 28ea781560a088c016f149785d9889a3306ffcf1452410563cb4ed89501cc53a4b4e9169c530308d4607cedaae920f2a2726dfa6154768e9f9167bc5a444694d
@@ -7,8 +7,9 @@ class ::IshManager::EmailContextsController < ::IshManager::ApplicationControlle
7
7
 
8
8
  def create
9
9
  authorize! :create, ::Ish::EmailContext
10
- @email_ctx = ::Ish::EmailContext.new params[:ish_email_context].permit!
11
- @email_ctx.tmpl = JSON.parse(@email_ctx.tmpl)
10
+ pparams = params[:ish_email_context].permit!
11
+ pparams[:tmpl] = JSON.parse(pparams[:tmpl])
12
+ @email_ctx = ::Ish::EmailContext.new pparams
12
13
  if @email_ctx.save
13
14
  flash[:notice] = 'Saved.'
14
15
  redirect_to action: 'show', id: @email_ctx.id
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.336
4
+ version: 0.1.8.337
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox