tramway-admin 1.1.2 → 1.1.2.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34e8ba6e94b761e12779fe10db8b759bdd751010a037cd44e3e6dbf3ecf7c045
|
4
|
+
data.tar.gz: 9482f05f21082ad21edfcf6520f6af418e0e0174edc579877a6dc4359b4c7348
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b353b23e651f53b61a17cc0bf26db966aa2382e86b6fa1137aff5769275a9c161059791243bfd18545a7b929b59a9b81e596c8d49045399f0a1bc6c79e457720
|
7
|
+
data.tar.gz: '08b0fea1b22dd96e3629d24f0b3437d846c14a8063157485f7af34da3abc08c25af2bfd1e207ddbcd7ae24f88d61952d392db1e8769e75755a9014b11690b4ff'
|
File without changes
|
@@ -1,19 +1,21 @@
|
|
1
|
-
module Tramway
|
2
|
-
module
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
module Tramway
|
2
|
+
module Admin
|
3
|
+
module RecordRoutesHelper
|
4
|
+
def record_path(*args, **options)
|
5
|
+
super args, options.merge(model: params[:model])
|
6
|
+
end
|
6
7
|
|
7
|
-
|
8
|
-
|
9
|
-
|
8
|
+
def edit_record_path(*args, **options)
|
9
|
+
super args, options.merge(model: params[:model])
|
10
|
+
end
|
10
11
|
|
11
|
-
|
12
|
-
|
13
|
-
|
12
|
+
def new_record_path(*args, **options)
|
13
|
+
super args, options.merge(model: params[:model])
|
14
|
+
end
|
14
15
|
|
15
|
-
|
16
|
-
|
16
|
+
def records_path(*args, **options)
|
17
|
+
super args, options.merge(model: params[:model])
|
18
|
+
end
|
17
19
|
end
|
18
20
|
end
|
19
21
|
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.1.2
|
4
|
+
version: 1.1.2.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: 2018-
|
11
|
+
date: 2018-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Engine for admin
|
14
14
|
email:
|
@@ -25,7 +25,7 @@ files:
|
|
25
25
|
- app/assets/javascripts/tramway/admin/ckeditor/config.js
|
26
26
|
- app/assets/javascripts/tramway/admin/records.js
|
27
27
|
- app/assets/javascripts/tramway/admin/welcome.js
|
28
|
-
- app/assets/stylesheets/tramway/admin/application.
|
28
|
+
- app/assets/stylesheets/tramway/admin/application.sass
|
29
29
|
- app/assets/stylesheets/tramway/admin/records.css
|
30
30
|
- app/assets/stylesheets/tramway/admin/tramway/admin/records.css
|
31
31
|
- app/controllers/tramway/admin/application_controller.rb
|
@@ -83,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
83
|
version: '0'
|
84
84
|
requirements: []
|
85
85
|
rubyforge_project:
|
86
|
-
rubygems_version: 2.7.
|
86
|
+
rubygems_version: 2.7.6
|
87
87
|
signing_key:
|
88
88
|
specification_version: 4
|
89
89
|
summary: Engine for admin
|