spaces!
Oleg
committed May 05, 2011
commit 346ca6abaa483f889d67cfac7587a420d4aca000
Showing 1
changed file with
2 additions
and 2 deletions
comfortable_mexican_sofa/fixtures.rb b/lib/comfortable_mexican_sofa/fixtures.rb
+2
-2
| @@ | @@ -17,11 +17,11 @@ module ComfortableMexicanSofa::Fixtures |
| if File.exists?(file_path = File.join(path, "_#{slug}.yml")) | |
| if layout.new_record? || File.mtime(file_path) > layout.updated_at | |
| attributes = YAML.load_file(file_path).symbolize_keys! | |
| - | layout.label = attributes[:label] || slug.titleize |
| + | layout.label = attributes[:label] || slug.titleize |
| layout.app_layout = attributes[:app_layout] || parent.try(:app_layout) | |
| end | |
| elsif layout.new_record? | |
| - | layout.label = slug.titleize |
| + | layout.label = slug.titleize |
| layout.app_layout = parent.try(:app_layout) | |
| end | |