Skip to content

Commit

Permalink
clayoven: s/set_default_options/set_options/ (deprecation)
Browse files Browse the repository at this point in the history
  • Loading branch information
artagnon committed Apr 10, 2015
1 parent c5bb4fd commit eea0d98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/clayoven.rb
Expand Up @@ -22,7 +22,7 @@ class Page
def render topics
@topics = topics
@paragraphs = ClayText.process @body
Slim::Engine.set_default_options pretty: true, sort_attrs: false
Slim::Engine.set_options pretty: true, sort_attrs: false
rendered = Slim::Template.new { IO.read 'design/template.slim' }.render self
File.open(@target, mode = 'w') do |targetio|
nbytes = targetio.write rendered
Expand Down

0 comments on commit eea0d98

Please sign in to comment.