flexite 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/flexite/configs_controller.rb +1 -1
- data/lib/flexite/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 402a34e51f3582aa2993c6be56cc3bc666506c89
|
4
|
+
data.tar.gz: 0251ef6f67dc4bf52a48cdce7c34f53053d292c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc14f085d53cdcf7f752b2f94bcec374047fbc5f5bfeda4e3f99f52f9b781490220129db6e4b6a73b2a658420df050a0661853b4b75d07074f2544a49f923265
|
7
|
+
data.tar.gz: e9c9fd2e52dfcd6147c38a60603645a8af6fdf8298bf0a4887dcce1222a2c73da32fbfbf885c58052da7016df0a15c1ba7a19873c965bf5bb8362e894bfdab5d
|
@@ -6,7 +6,7 @@ module Flexite
|
|
6
6
|
|
7
7
|
def index
|
8
8
|
@configs = Config.tree_view(params[:config_id])
|
9
|
-
@cache_key = "#{controller_name}/#{action_name}.#{request.format.symbol}/#{Config.roots.maximum(:updated_at)&.to_s(:number)}"
|
9
|
+
@cache_key = "#{controller_name}/#{action_name}.#{request.format.symbol}/#{Config.roots.maximum(:updated_at)&.to_s(:number)}/#{params.fetch(:config_id, :root)}"
|
10
10
|
end
|
11
11
|
|
12
12
|
def new
|
data/lib/flexite/version.rb
CHANGED