active_scaffold_config_list 3.2.8 → 3.2.9
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
|
-
|
|
4
|
-
|
|
3
|
+
metadata.gz: c7f59d06507175af8cd27a5d855a9b2929d1e8b4
|
|
4
|
+
data.tar.gz: 2fd63bc9bba6663590cfa9d4213b0f11cd6a076f
|
|
5
5
|
SHA512:
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
metadata.gz: a58336285acf4982720e927732a971342197f3e4c6898ce59fc699ad7620484c11ddc4fcddbb84c579f4c50cb7b33f51b885831c14bb80068a7626e88f5a6863
|
|
7
|
+
data.tar.gz: 4600ee0d71fc192a0935a85806fdda8518df4f81c2167fc17935cce45694c3cb8838393ed00cb0027144b5613f38ba4ff7738eb1675d8e52e651f2d0806ff17a
|
|
@@ -4,7 +4,17 @@ module ActiveScaffold::Actions
|
|
|
4
4
|
def self.included(base)
|
|
5
5
|
base.before_filter :store_config_list_params, :only => [:index]
|
|
6
6
|
base.helper_method :config_list_params
|
|
7
|
-
base.
|
|
7
|
+
base.extend ClassMethods
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
module ClassMethods
|
|
11
|
+
def config_list_session_storage_method
|
|
12
|
+
@config_list_session_storage_method
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
def config_list_session_storage_method=(value)
|
|
16
|
+
@config_list_session_storage_method = value
|
|
17
|
+
end
|
|
8
18
|
end
|
|
9
19
|
|
|
10
20
|
def show_config_list
|
|
@@ -33,7 +43,7 @@ module ActiveScaffold::Actions
|
|
|
33
43
|
end
|
|
34
44
|
|
|
35
45
|
def config_list_session_storage_method
|
|
36
|
-
respond_to?
|
|
46
|
+
respond_to?(:custom_config_list_session_storage) ? :custom_config_list_session_storage : :active_scaffold_session_storage
|
|
37
47
|
end
|
|
38
48
|
|
|
39
49
|
def config_list_session_storage
|