diff options
author | Robert Speicher <robert@gitlab.com> | 2017-05-10 21:43:34 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2017-05-10 21:43:34 +0000 |
commit | cb2f739d4844af094f62edb4e4dff1b3413a405b (patch) | |
tree | c86ea111756a89d84e0601d554ddc78d3be780d0 /config/initializers/hamlit.rb | |
parent | 000045e6647fd8c2e28b1a6dc12ce59f9bfc054f (diff) | |
parent | 3db37e05622aa3daa2be41bb9edc486cd2e54bcd (diff) | |
download | gitlab-ce-cb2f739d4844af094f62edb4e4dff1b3413a405b.tar.gz |
Merge branch '27144-enforce-rubocop-trailing_commas-no_comma-style' into 'master'
Resolve "Use consistent style for trailing commas"
Closes #27144
See merge request !11063
Diffstat (limited to 'config/initializers/hamlit.rb')
-rw-r--r-- | config/initializers/hamlit.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/initializers/hamlit.rb b/config/initializers/hamlit.rb index 7b545d8c06c..51dbffeda05 100644 --- a/config/initializers/hamlit.rb +++ b/config/initializers/hamlit.rb @@ -3,7 +3,7 @@ module Hamlit def call(template) Engine.new( generator: Temple::Generators::RailsOutputBuffer, - attr_quote: '"', + attr_quote: '"' ).call(template.source) end end @@ -11,7 +11,7 @@ end ActionView::Template.register_template_handler( :haml, - Hamlit::TemplateHandler.new, + Hamlit::TemplateHandler.new ) Hamlit::Filters.remove_filter('coffee') |