Skip to content

Commit

Permalink
Merge pull request #2877 from merqlove/haml_upgrade
Browse files Browse the repository at this point in the history
Fixed HAML Update.
  • Loading branch information
mshibuya authored May 28, 2017
2 parents 2ec766e + d529c6b commit 6642acd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/initializers/haml.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require 'haml'

if Gem::Version.create(Haml::VERSION) < Gem::Version.create('5.0.0.beta.2')
require 'haml/template'
if Haml::Options.buffer_option_keys.include?(:ugly)
Haml::Template.options[:ugly] = true
end

0 comments on commit 6642acd

Please sign in to comment.