comfortable_mexican_sofa 2.0.10 → 2.0.11

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: 7a292c3637d5339cfd75353c4a3e192dd4d99454b6df03cd4f1363bd09c08ddb
4
- data.tar.gz: ca864bdc42dcf932fdce669f955e5458556a5c7b7efd3a1b38b5fef327f7456c
3
+ metadata.gz: fe8ad6d999d79b54ee603c3716af9918f4db8b2698218c82fa33df2dc8fc8052
4
+ data.tar.gz: 3f3507956e46ec294123605597bbb784e6e8fd16491521914d8b9b3de9a890d5
5
5
  SHA512:
6
- metadata.gz: d4d3ae837c481777bf38bf6c140df9480313322fe10104491fe6f7166d48c8cb47ef39a2de415a806bb7b4782bd9bfa36a18ca87e8d7e44ab8d8196af5e6f132
7
- data.tar.gz: 7db9547c94784a9909323303668d54cebb700c48152368461ddf8e499a8b1581ec5d322254ab81b70aed0a80ba0a54923a2f9347ab4b93db61621f47d0bdd5ae
6
+ metadata.gz: 637075c7b4045281ec8ba6c9e48dfa515dc93ea9986cac4060a2f99867765438f28e429c1959bf30cbf388b41f20e83e6ab9dbaea859fbdb8a47a5ac8bcbf2db
7
+ data.tar.gz: 4faf62c739c74b7efe0bd2287a15a3a54df7011fb19acffec60b1190ce7e35f354b4d8c10e6164b75d2043e338ce3f661ab271f6b84c1a978415322983b4292b
@@ -2,6 +2,8 @@ class Comfy::Cms::BaseController < ApplicationController
2
2
 
3
3
  before_action :load_cms_site
4
4
 
5
+ helper Comfy::CmsHelper
6
+
5
7
  protected
6
8
 
7
9
  def load_cms_site
@@ -1,5 +1,5 @@
1
1
  module ComfortableMexicanSofa
2
2
 
3
- VERSION = "2.0.10".freeze
3
+ VERSION = "2.0.11".freeze
4
4
 
5
5
  end
@@ -1,5 +1,5 @@
1
1
  .page-header
2
2
  %h2 Edit <%= class_name.titleize %>
3
3
 
4
- = comfy_form_for [:admin, @<%= file_name %>] do |form|
4
+ = comfy_form_with model: @<%= file_name %>, url: [:admin, @<%= file_name %>] do |form|
5
5
  = render form
@@ -1,5 +1,5 @@
1
1
  .page-header
2
2
  %h2 New <%= class_name.titleize %>
3
3
 
4
- = comfy_form_for [:admin, @<%= file_name %>] do |form|
4
+ = comfy_form_with model: @<%= file_name %>, url: [:admin, @<%= file_name %>] do |form|
5
5
  = render form
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: comfortable_mexican_sofa
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.10
4
+ version: 2.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oleg Khabarov