spud_cms 0.9.7 → 0.9.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -73,7 +73,6 @@ module Spud
73
73
 
74
74
  def check_for_defaults(layouts)
75
75
  default_layout_path = layout_path(Rails.application.root.join('app','views','layouts',Spud::Cms.default_page_layout))
76
- puts("Checking #{default_layout_path}")
77
76
  puts(layouts)
78
77
  if layouts[default_layout_path].blank?
79
78
  layouts[default_layout_path] = {:template_name => "Default", :partials => ["Body"], :sites => [Spud::Core.short_name.downcase], :default => true}
@@ -89,8 +88,8 @@ module Spud
89
88
  if layout.blank?
90
89
  layouts[layout_path] = {:template_name => "Default", :partials => ["Body"], :sites => [config[:short_name].to_s.downcase], :default => true}
91
90
  else
92
- layout[layout_path][:sites] << config[:short_name].to_s.downcase
93
- layout[layout_path][:default] = true
91
+ layouts[layout_path][:sites] << config[:short_name].to_s.downcase
92
+ layouts[layout_path][:default] = true
94
93
  end
95
94
  end
96
95
 
@@ -1,5 +1,5 @@
1
1
  module Spud
2
2
  module Cms
3
- VERSION = "0.9.7"
3
+ VERSION = "0.9.8"
4
4
  end
5
5
  end