tramway-admin 1.11 → 1.11.0.1

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: 5292206fd2dff592351b3f2335bae56d462926bf8a20c5dca9ce85a03ea9ba83
4
- data.tar.gz: 65a647ef6159f4f9a4148c942fcf7d671450d3d022f47576a8736d322a57e9ff
3
+ metadata.gz: 6d5a2a917c26543b66a2e6373da1c9c9fed2e1517dea45f3fd75184407779a84
4
+ data.tar.gz: f307a2a294a5f093c9f6d0205ec8cb73d7d31901dbc0d963305d84b87a642a8f
5
5
  SHA512:
6
- metadata.gz: 5ca14f4b9d31900d20ade7f333b9e1a751029e000443f95cda94b2507b414b851a9c9b7e07d20bf9d3f9ff0470397389491847d6a74e73a4ab83a168b17081dd
7
- data.tar.gz: 4127497b8ae0c8f1ca1dc76b0c0ba5f06205343b460e662d634bc1e0cca62369f9d08070c5e36f38afdd5c74b93acfb9bcec3da44c4a3a31801e215da60061fe
6
+ metadata.gz: ecbc2ab0fcc75e7f687b1091e776b7ad9d1dc21a9a341af9869817fd82465f9ad8862d9397e46d81db137616d95ec44f5cf4221f9fbb4ec6fdfe87cf90d2f716
7
+ data.tar.gz: de1d46d1b7d59882b3ba729195f35e61d21197bf60e921b5a30c4d33777848096d9007b94d7dbd6be30690ab4394e1104de07743c92a1718c6dffe4ab7eaef89
@@ -29,7 +29,7 @@ module Tramway::Admin
29
29
  end
30
30
 
31
31
  def create
32
- @record_form = form_class.new model_class.new
32
+ @record_form = form_class.new
33
33
  if @record_form.submit params[:record]
34
34
  redirect_to params[:redirect] || record_path(@record_form.model)
35
35
  else
@@ -15,7 +15,7 @@ module Tramway::Admin
15
15
  end
16
16
 
17
17
  def create
18
- @singleton_form = form_class.new model_class.new
18
+ @singleton_form = form_class.new
19
19
  if @singleton_form.submit params[:singleton]
20
20
  redirect_to params[:redirect] || singleton_path(model: params[:model])
21
21
  else
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Admin
3
- VERSION = '1.11'
3
+ VERSION = '1.11.0.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.11'
4
+ version: 1.11.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-17 00:00:00.000000000 Z
11
+ date: 2019-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bootstrap-kaminari-views