activeadmin-settings 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
data/lib/activeadmin-settings.rb
CHANGED
@@ -7,11 +7,12 @@ module ActiveadminSettings
|
|
7
7
|
def self.load_config
|
8
8
|
config_file = ::Rails.root.join("config/activeadmin_settings.yml")
|
9
9
|
@load_config = {}
|
10
|
-
|
10
|
+
|
11
11
|
if File.exists?(config_file)
|
12
12
|
data = YAML::load(ERB.new(IO.read(config_file)).result)
|
13
13
|
@load_config = data if data
|
14
14
|
end
|
15
|
+
@load_config
|
15
16
|
end
|
16
17
|
|
17
18
|
def self.all_settings
|
@@ -25,6 +25,10 @@ ul.tabs {
|
|
25
25
|
}
|
26
26
|
|
27
27
|
.flashes {
|
28
|
-
position:
|
29
|
-
width:
|
30
|
-
|
28
|
+
position:absolute;
|
29
|
+
width:100%;
|
30
|
+
bottom:0px;
|
31
|
+
}
|
32
|
+
|
33
|
+
body.logged_in .flash.flash_notice { border-bottom:0px!important; border-top:1px solid #ADCBAF; }
|
34
|
+
body.logged_in .flash { top:0px!important; margin-bottom:0px!important; }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activeadmin-settings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-08-03 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Easy to use general purpose settings backend for activeadmin
|
15
15
|
email:
|
@@ -63,7 +63,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
63
63
|
version: '0'
|
64
64
|
segments:
|
65
65
|
- 0
|
66
|
-
hash: -
|
66
|
+
hash: -1476430905475312843
|
67
67
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
68
68
|
none: false
|
69
69
|
requirements:
|