standard_view 0.1.18 → 0.1.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e50d299941c92e0949b5c9bdea2a08115fc3b24bc6012a61ae8482519f736d1d
4
- data.tar.gz: c462c779e063f9c52c6a3c0db846a8e6cbf42299511f24c763aaeb5ea98844a2
3
+ metadata.gz: 10e35b0bca3a3349a32ed0baf8c4945112e1c428c15ebab4de10c19ae155b8d6
4
+ data.tar.gz: de491886fcc491906214234806a059ebcdccefb49722638d98dd404539cc8656
5
5
  SHA512:
6
- metadata.gz: '09ba4b59ed60e069cc8408cf3b9b87290a805d7706b81d3f73dee5aadd8e57075af621e40f7cb9ddeec9c7f0ace6ceef10fe7bd4caf4753a34208dcd60c0a5fa'
7
- data.tar.gz: 909b79c149db6ea85912ecd9a8318667079b2d710efa47c0eb8806d4b679c5ba8981b6c5982b14d631acf657cff094f9393d9a672a364971bc385fadd7b0a553
6
+ metadata.gz: 9d90b9971fad67bb5d5d5d3442bade1ec5f06eb9d2fa40b49640469314c652ac9025e7d25d0c7320aa9b8b9d46e922dbd5c151ebbcbed1c57ae565479f9439f5
7
+ data.tar.gz: 38e34d89913dba85daa3e786fb65f95911d16e5bcc49c124a2b8e254bb06b333cc7394383d13d14832fb7ed8e98aa34d4fa96eb5fd53cc10afec226c3f0c56d2
@@ -20,7 +20,7 @@ module StandardView
20
20
  record.respond_to?(default_count_method_name) ? default_count_method_name : collection
21
21
  end
22
22
 
23
- link_target = [ collection, record ]
23
+ link_target = [ record.to_sym, collection.to_sym ]
24
24
  link_target.reverse! if nested
25
25
 
26
26
  active_link_arguments = { controller: (nested ? model : record).model_name.collection }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module StandardView
4
- VERSION = "0.1.18"
4
+ VERSION = "0.1.20"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standard_view
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.18
4
+ version: 0.1.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Garside
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2025-03-14 00:00:00.000000000 Z
12
+ date: 2025-03-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails