widget_list 1.3.1 → 1.3.2
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.
- data/lib/widget_list.rb +6 -2
- data/lib/widget_list/version.rb +1 -1
- metadata +1 -1
data/lib/widget_list.rb
CHANGED
|
@@ -12,7 +12,7 @@ require 'uri'
|
|
|
12
12
|
require 'extensions/action_controller_base'
|
|
13
13
|
|
|
14
14
|
module WidgetList
|
|
15
|
-
|
|
15
|
+
|
|
16
16
|
#
|
|
17
17
|
# WidgetList Administration/Setup
|
|
18
18
|
#
|
|
@@ -1061,6 +1061,7 @@ module WidgetList
|
|
|
1061
1061
|
class Engine < ::Rails::Engine
|
|
1062
1062
|
require 'widget_list/engine'
|
|
1063
1063
|
end
|
|
1064
|
+
|
|
1064
1065
|
end
|
|
1065
1066
|
|
|
1066
1067
|
class List
|
|
@@ -3687,6 +3688,9 @@ module WidgetList
|
|
|
3687
3688
|
def self.load_widget_list_yml
|
|
3688
3689
|
if $widget_list_conf.nil?
|
|
3689
3690
|
$widget_list_conf = YAML.load(ERB.new(File.new(Rails.root.join("config", "widget-list.yml")).read).result)[Rails.env]
|
|
3691
|
+
if Rails.root.join("app/helpers", "widget_list_helper.rb").file?
|
|
3692
|
+
require Rails.root.join("app/helpers", "widget_list_helper.rb")
|
|
3693
|
+
end
|
|
3690
3694
|
end
|
|
3691
3695
|
end
|
|
3692
3696
|
|
|
@@ -3865,4 +3869,4 @@ module WidgetList
|
|
|
3865
3869
|
|
|
3866
3870
|
end
|
|
3867
3871
|
|
|
3868
|
-
end
|
|
3872
|
+
end
|
data/lib/widget_list/version.rb
CHANGED