refinerycms 0.9.6.27 → 0.9.6.28

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.6.27
1
+ 0.9.6.28
@@ -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.27' unless defined? REFINERY_GEM_VERSION
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')
@@ -1,3 +1,7 @@
1
1
  class PagePresenter < Refinery::BasePresenter
2
- #delegate DEFAULT_FIELDS.keys :to => :model
2
+
3
+ def custom_title_type
4
+ @model.custom_title_type
5
+ end
6
+
3
7
  end
@@ -9,6 +9,12 @@ end
9
9
  require_dependency 'refinery/form_helpers'
10
10
  require_dependency 'refinery/base_presenter'
11
11
 
12
- presenters_path = Rails.root.join("app", "presenters").to_s
13
- $LOAD_PATH << presenters_path
14
- ::ActiveSupport::Dependencies.load_paths << presenters_path
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
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 0
7
7
  - 9
8
8
  - 6
9
- - 27
10
- version: 0.9.6.27
9
+ - 28
10
+ version: 0.9.6.28
11
11
  platform: ruby
12
12
  authors:
13
13
  - Resolve Digital