params in a liquid template should only contain string keys
did
committed Oct 28, 2015
commit 065c6e1aea388ed2d556d88fca605526f8332464
Showing 2
changed files with
2 additions
and 2 deletions
Gemfile
+1
-1
| @@ | @@ -6,7 +6,7 @@ gemspec |
| # Development | |
| # gem 'locomotivecms-liquid', path: '../gems/liquid', require: false | |
| # gem 'locomotivecms-solid', path: '../gems/solid', require: false | |
| - | # gem 'locomotivecms_mounter', path: '../gems/mounter', require: false |
| + | gem 'locomotivecms_mounter', path: '../gems/mounter', require: false |
| # gem 'locomotivecms_mounter', github: 'locomotivecms/mounter', ref: '6025c4a', require: false | |
| gem 'rb-fsevent', '~> 0.9.1' | |
locomotive/wagon/server/renderer.rb b/lib/locomotive/wagon/server/renderer.rb
+1
-1
| @@ | @@ -78,7 +78,7 @@ module Locomotive::Wagon |
| 'models' => Locomotive::Wagon::Liquid::Drops::ContentTypes.new, | |
| 'contents' => Locomotive::Wagon::Liquid::Drops::ContentTypes.new, | |
| 'current_page' => self.params[:page], | |
| - | 'params' => self.params.stringify_keys, |
| + | 'params' => self.params.deep_stringify_keys, |
| 'path' => self.request.path, | |
| 'fullpath' => self.request.fullpath, | |
| 'url' => self.request.url, | |