CHANGELOG.md in plezi-0.12.16 vs CHANGELOG.md in plezi-0.12.17

- old
+ new

@@ -1,8 +1,16 @@ #Change Log *** +Change log v.0.12.17 + +**Fix**: error template format would (and should) fallback to 'html' if the originally requested format (i.e. 'json') was missing. An issue with nested template rendering (when the error template would call `render` to render a partial or other template) caused the fallback to revert to the original (missing) format when searching for the nested template. This issue is now fixed, by instructing ErrorCtrl to set the global format rather than the local one. + +**Update**: when the `ENV["ENV"]` or `ENV["ENV"]` are set to `"production"`, the SASS asset render engine will be set to compress the css (minify), for smaller transfers. + +*** + Change log v.0.12.16 **Fix**: fixed an issue with the `#url_for` method, which couldn't be used as a class method. **Update**: a new and improved `#url_for` method (both for Controller class and instance). The instance class will attempt to preserve any re-write route paramerets, such as the `:locale` and `:format` parameters. The class method will do the same IF it receives the exiting request's `params` Hash as a second argument. `#url_for` is always a "best guess" and should be accurate for when guessing isn't super difficult. \ No newline at end of file