ez-resources 0.1.1 → 0.1.2
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 +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebc92d0fcd558df5916ff3a76e2a050bf8e2f23f636a9ae2c7f0cd0cc2d017a9
|
4
|
+
data.tar.gz: c3edef2deeb5367ae837162831821dacd174a4aa24459b52c2f5df71ad990685
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e63df64cf4285a99602dfa2cc2e1ddf8942222ee894f5eb7749ae14816ebeafe370371f6cdd6648090da163327fcabc02777d01fdc050d8892be37961e990b84
|
7
|
+
data.tar.gz: 76d771724829b4b4e7998df1707924bb1ea267402a96a6971280db3ea1fdbc731629f0b2c8cdee62c6ff7a11d8965cf6f829ff4e5df79e740c1fdc0e19d0c285
|
@@ -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: "#{model.model.name.pluralize.downcase}-#{record.id}", data: { link: model.path_for(action: :show, id: record.id).to_s }, &block
|
49
|
+
content_tag :tr, class: css_for('collection-table-tr'), id: "#{model.model.name.demodulize.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: "#{model.model.name.pluralize.downcase}-#{record.id}", &block
|
51
|
+
content_tag :tr, class: css_for('collection-table-tr'), id: "#{model.model.name.demodulize.pluralize.downcase}-#{record.id}", &block
|
52
52
|
end
|
53
53
|
end
|
54
54
|
|
data/lib/ez/resources/version.rb
CHANGED