refinerycms 0.9.6.27 → 0.9.6.28
Sign up to get free protection for your applications and to get access to all the features.
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.6.
|
1
|
+
0.9.6.28
|
data/config/application.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
RAILS_GEM_VERSION = '2.3.5' unless defined? RAILS_GEM_VERSION
|
3
3
|
|
4
4
|
# Specified gem version of Refinery to use when vendor/plugins/refinery/lib/refinery.rb is not present.
|
5
|
-
REFINERY_GEM_VERSION = '0.9.6.
|
5
|
+
REFINERY_GEM_VERSION = '0.9.6.28' unless defined? REFINERY_GEM_VERSION
|
6
6
|
|
7
7
|
# Boot Rails
|
8
8
|
require File.join(File.dirname(__FILE__), 'boot')
|
@@ -9,6 +9,12 @@ end
|
|
9
9
|
require_dependency 'refinery/form_helpers'
|
10
10
|
require_dependency 'refinery/base_presenter'
|
11
11
|
|
12
|
-
|
13
|
-
|
14
|
-
|
12
|
+
[ Refinery.root.join("vendor", "plugins", "*", "app", "presenters").to_s,
|
13
|
+
Rails.root.join("vendor", "plugins", "*", "app", "presenters").to_s,
|
14
|
+
Rails.root.join("app", "presenters").to_s
|
15
|
+
].uniq.each do |path|
|
16
|
+
Dir[path].each do |presenters_path|
|
17
|
+
$LOAD_PATH << presenters_path
|
18
|
+
::ActiveSupport::Dependencies.load_paths << presenters_path
|
19
|
+
end
|
20
|
+
end
|