ecm_cms 0.0.4.pre → 0.0.5.pre

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,7 +16,8 @@ module ActionView
16
16
  context.rendered_format = context.formats.first
17
17
  end
18
18
 
19
- layout = template.layout ||= options[:layout]
19
+ layout = template.layout if template.respond_to?(:layout)
20
+ layout ||= options[:layout]
20
21
 
21
22
  render_template(template, layout, options[:locals])
22
23
  end
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module Cms
3
- VERSION = "0.0.4.pre"
3
+ VERSION = "0.0.5.pre"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_cms
3
3
  version: !ruby/object:Gem::Version
4
- hash: 961915988
4
+ hash: 961915984
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
9
+ - 5
10
10
  - pre
11
- version: 0.0.4.pre
11
+ version: 0.0.5.pre
12
12
  platform: ruby
13
13
  authors:
14
14
  - Roberto Vasquez Angel
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2012-11-16 00:00:00 Z
19
+ date: 2012-12-06 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: rails