smarter_listing 0.1.9 → 0.2.0

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
  SHA1:
3
- metadata.gz: 799c18c0a8940bdb5c2bfb832233f68f22010bf6
4
- data.tar.gz: 2582eb96da5ed967cc670b519e7f141692151d20
3
+ metadata.gz: 87d174b1421deac1d660dd034cdcde6429e5031b
4
+ data.tar.gz: 99710108203ef8f59a8c2e95e4d078ea87ebdd02
5
5
  SHA512:
6
- metadata.gz: 2b20490e69f57e35a12f38dc45fb19de162e070efc70f4b4c606aa5efd16cf9ff2f9c4d6da48b927a29148f02f395a2f517e3e5778e23ef69ae44bdf95d7cd12
7
- data.tar.gz: 2e7d0618736959b70b4ca47f82b0a23628b2f46daf9265dbccd293f594b843b998055acacdfec4cc439f73908dbd903a3990ca10f8dc4de273e3cb4080305247
6
+ metadata.gz: 223d8a2b5711a6488e06e98439660a6729dab3e06fd7bf4d97d5c90a62b08d3abfa65b7bd2d13e05d6c2653b88fb05456616701f4b88e7098338ca3b6d0ba25d
7
+ data.tar.gz: 9b7cf9a6604e9d47b17345f2763e1f2c4b94e40b29a3ea7dcf73b32f67da4952ab362cccfdba5ac058bf657fbf059f667762e2fa3ff53039c12c1305de77bfc3
@@ -15,7 +15,7 @@ module SmarterListing
15
15
 
16
16
  def resource_view_path
17
17
  path = model.name.tableize
18
- path = "#{current_engine}/#{path}"
18
+ path = "#{current_engine}/#{path}" unless path.start_with?("#{current_engine}/")
19
19
  path
20
20
  end
21
21
 
@@ -1,3 +1,3 @@
1
1
  module SmarterListing
2
- VERSION = '0.1.9'
2
+ VERSION = '0.2.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smarter_listing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Sprauer