configurable_engine 2.0.0 → 2.0.1

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: 541d4ad357b6438a52c6b017f67cd7d83a3f84069671c69952a55babc64afec9
4
- data.tar.gz: 99acc47f826dedf5d0b6a6e35020864028e58977c8a6f072ac9a4152b62e29df
3
+ metadata.gz: 052c84d5fd01f589b20d96f859db8e9472ccc006e65e1169cfa856821d99c505
4
+ data.tar.gz: 0cad323593bc477cc75fdf4e5688b32bdc40f37f378bc87812944e2a3dac76f1
5
5
  SHA512:
6
- metadata.gz: df600a1f9d9c6af12d826983027fd05bdd90f0879d0cfea87320fccfe4301df62296c5e05b552c3c75ed9f90059ea630e4dd927808a7a25ab0f0371dbbd75c35
7
- data.tar.gz: b2e0e897399245a072d060d7e714baf3924a393cde664cd8449ea10c98dacee9e01cbba086d1b12fc4dd9688183f1793d6fbfcef5a4beb9a348632607aa99eaa
6
+ metadata.gz: e49206f97f2db7ac059b4e9999d7de7e7d45aaebba6f16c3d41befdbf97ab6fba031149d5513cbc2c09d45db661f2703d39835d14713ccfac34fb668cb2950c6
7
+ data.tar.gz: 61f85de5aa43479682c21777d3b6929fb38f1a667dc94359de380c9622ada73676c9067ac594cc3ec2d4026bee5e210abc19bb4745687d0101c6137ed2d85963
@@ -1,3 +1,7 @@
1
+ ### v2.0.0 - August 20, 2020
2
+ **bug fixes**
3
+ Can render layout of parent application
4
+
1
5
  ### v2.0.0 - August 20, 2020
2
6
  **features**
3
7
  Configurable_Engine is mountable. This allows folks to use it with a catch-all route
@@ -1,5 +1,10 @@
1
1
  module ConfigurableEngine
2
2
  class ConfigurablesController < ApplicationController
3
+ # this allows us to render url_helpers from parent app's layout
4
+ helper Rails.application.routes.url_helpers
5
+ # this ensures our local routes override any parent routes
6
+ helper ConfigurableEngine::Engine.routes.url_helpers
7
+
3
8
  include ConfigurableEngine::ConfigurablesControllerMethods
4
9
  end
5
10
  end
@@ -1,3 +1,3 @@
1
1
  module ConfigurableEngine
2
- VERSION = '2.0.0'
2
+ VERSION = '2.0.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: configurable_engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Campbell