bullet_train-themes-light 1.6.8 → 1.6.9
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: 02eb79ecd119265803d23db19dd53b0550243e7ee1d75e5d390695d6b939a9ef
|
4
|
+
data.tar.gz: 5bcd96a97aca87268968ec45787a482a5eb7ebc989c5885d86be5015325a2303
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3cfb62f3a97753e83d8db200458327255d1ecc5f6c9fa4b990460cad2b004de84a2f5d7174e4b3428c88f3a04df4e52137adaf0fa839402f79f94fd675c4f047
|
7
|
+
data.tar.gz: a092ed9e299a6981a9224c8e50de58c97e3518983e1b441346f56c4954f1ea76c6216f6d55daa2fe9cb9858945b63b1c26c7b2fe0e532648983d7f596802aaa1
|
@@ -20,13 +20,13 @@
|
|
20
20
|
<% end %>
|
21
21
|
<% end %>
|
22
22
|
<% if can? :read, action %>
|
23
|
-
<%= link_to t("#{action.class.name.pluralize.underscore}.buttons.shorthand.show"),
|
23
|
+
<%= link_to t("#{action.class.name.pluralize.underscore}.buttons.shorthand.show"), build_action_model_path(action), class: 'button-secondary button-smaller' %>
|
24
24
|
<% end %>
|
25
25
|
<% if can? :edit, action %>
|
26
|
-
<%= link_to t("#{action.class.name.pluralize.underscore}.buttons.shorthand.edit"),
|
26
|
+
<%= link_to t("#{action.class.name.pluralize.underscore}.buttons.shorthand.edit"), build_action_model_path(action, type: :edit), class: 'button-secondary button-smaller' %>
|
27
27
|
<% end unless action.started_at # TODO This is the wrong way to do this, we need to do this in `roles.yml` when we can. %>
|
28
28
|
<% if can? :destroy, action %>
|
29
|
-
<%= button_to t("#{action.class.name.pluralize.underscore}.buttons.shorthand.destroy"),
|
29
|
+
<%= button_to t("#{action.class.name.pluralize.underscore}.buttons.shorthand.destroy"), build_action_model_path(action), method: :delete, data: { confirm: t("#{action.class.name.pluralize.underscore}.buttons.confirmations.destroy", model_locales(action)) }, class: 'button-secondary button-smaller' %>
|
30
30
|
<% end %>
|
31
31
|
</div>
|
32
32
|
</div>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bullet_train-themes-light
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Culver
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-11-
|
11
|
+
date: 2023-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: standard
|