liquid_cms 0.3.0 → 0.3.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -58,7 +58,7 @@ module Cms
58
58
  render_options = {} #{:filters => [CmsFilters, AppFilters]}
59
59
  common_assigns = {'params' => ParamsDrop.new((controller.params || {}).except(:controller, :action)), 'site_url' => controller.request.protocol + controller.request.raw_host_with_port}
60
60
 
61
- context_obj = Cms.context_class ? Cms::Context.new(context) : nil
61
+ context_obj = Cms::Context.new(Cms.context_class ? context : nil)
62
62
 
63
63
  # render the current page
64
64
  page = self
@@ -1,3 +1,3 @@
1
1
  module Cms
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.0.1"
3
3
  end
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: liquid_cms
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 85
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
9
  - 0
10
- version: 0.3.0
10
+ - 1
11
+ version: 0.3.0.1
11
12
  platform: ruby
12
13
  authors:
13
14
  - Andrew Kaspick