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: bdda5c22471ae047395171d806f3acfcd1896171639f8188de18c866b5ad67ba
4
- data.tar.gz: 1c0d7ece3af05cb44f598333cce43116205f76238b05436a0acd10439f9a7345
3
+ metadata.gz: 02eb79ecd119265803d23db19dd53b0550243e7ee1d75e5d390695d6b939a9ef
4
+ data.tar.gz: 5bcd96a97aca87268968ec45787a482a5eb7ebc989c5885d86be5015325a2303
5
5
  SHA512:
6
- metadata.gz: 46ace320466e89841551e8ffc28a1d44bcc07426e88e2b7c67feea0529ec9e690fa9e039d69bbc72dacde2fb7d833aa3b40838bb1b1d337ff93470f18a2011e6
7
- data.tar.gz: 01477edc1fe5db9784d68e23424f0cbb7ea77bb4b6a209abb600945a2b2fe8fe33a09bbc20d20c61004f5cc705938a3deebca496b989b6597a2647954fb6dc00
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"), [:account, action], class: 'button-secondary button-smaller' %>
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"), [:edit, :account, action], class: 'button-secondary button-smaller' %>
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"), [:account, action], method: :delete, data: { confirm: t("#{action.class.name.pluralize.underscore}.buttons.confirmations.destroy", model_locales(action)) }, class: 'button-secondary button-smaller' %>
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>
@@ -1,7 +1,7 @@
1
1
  module BulletTrain
2
2
  module Themes
3
3
  module Light
4
- VERSION = "1.6.8"
4
+ VERSION = "1.6.9"
5
5
  end
6
6
  end
7
7
  end
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.8
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-01 00:00:00.000000000 Z
11
+ date: 2023-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard