tramway-export 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/views/tramway/export/_button.html.haml +1 -1
- data/lib/tramway/export/version.rb +1 -1
- data/lib/tramway/export.rb +4 -0
- 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: 6efec3400a742beb5e3e85a4f0a19270d5cb2cbbea6168378bdd99fbb14c069e
|
4
|
+
data.tar.gz: 999acb1d3f85e7b4e3f707ffc69c231e5f2e995e4cfd6e65aefa1473cc00c785
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0286a74912d48df5a94df645396eed603e347fd1c7df2b298818392636a3a084f6df7412a237ef1d2decc1fdb62c234a66622b0469dc8b20032d50934ac6204
|
7
|
+
data.tar.gz: 87a08b8382f726068f612d30096f27b977c018a0bf9218944c73f14da39fbe2f1e0ddb50179cf5bdffe3486471dec1882b51e844949931292e137fb11de71b8d
|
@@ -1,6 +1,6 @@
|
|
1
1
|
- if Tramway::Export.exportable_model? model_class, project: (@application_engine || @application.name)
|
2
2
|
- model_name = model_class.name.underscore
|
3
|
-
- id = "export-#{model_name}"
|
3
|
+
- id = "export-#{model_name.gsub('/', '_')}"
|
4
4
|
.btn-group{ role: :group }
|
5
5
|
%button{ id: id, type: :button, class: 'btn btn-primary dropdown-toggle', data: { toggle: :dropdown, aria: { haspopup: :true, expanded: :false } } }
|
6
6
|
= fa_icon(:download)
|
data/lib/tramway/export.rb
CHANGED