ez-resources 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/cells/ez/resources/collection_cell.rb +2 -2
- data/lib/ez/resources/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf4293cdd8cb37b198983b56504cf75b2ad73508b75d984a760d93470c29e36e
|
4
|
+
data.tar.gz: 2524f6969b4f4ef062ab353a4e8de6502a6f955305f7776842ca154e8d421250
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b5d6095e58d7a4226bf9e34b641274d45a5756123d1351227f5c0d8bdeedb6f88a5418dcedb9017d88a40a599b941d31b3ddbdcc49428a88b1985c0186d6416
|
7
|
+
data.tar.gz: af11410a588c09295c8d0cb22ef6e747b3c36a3bf4abe53b614f617e1bde086585caf4c6dc23b5dfd258a94c820ec46aeb9cf633e41776664ff5470773b771cc
|
@@ -46,9 +46,9 @@ module Ez
|
|
46
46
|
|
47
47
|
def record_tr(record, &block)
|
48
48
|
if model.actions.include?(:show) && Manager::Hooks.can?(:can_read?, model, record)
|
49
|
-
content_tag :tr, class: css_for('collection-table-tr'), id: "#{
|
49
|
+
content_tag :tr, class: css_for('collection-table-tr'), id: "#{model.model.name.pluralize.downcase}-#{record.id}", data: { link: model.path_for(action: :show, id: record.id).to_s }, &block
|
50
50
|
else
|
51
|
-
content_tag :tr, class: css_for('collection-table-tr'), id: "#{
|
51
|
+
content_tag :tr, class: css_for('collection-table-tr'), id: "#{model.model.name.pluralize.downcase}-#{record.id}", &block
|
52
52
|
end
|
53
53
|
end
|
54
54
|
|
data/lib/ez/resources/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ez-resources
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Volodya Sveredyuk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-07-
|
11
|
+
date: 2021-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cells-rails
|