summaryrefslogtreecommitdiff
path: root/config/initializers/hamlit.rb
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2017-05-10 21:43:34 +0000
committerRobert Speicher <robert@gitlab.com>2017-05-10 21:43:34 +0000
commitcb2f739d4844af094f62edb4e4dff1b3413a405b (patch)
treec86ea111756a89d84e0601d554ddc78d3be780d0 /config/initializers/hamlit.rb
parent000045e6647fd8c2e28b1a6dc12ce59f9bfc054f (diff)
parent3db37e05622aa3daa2be41bb9edc486cd2e54bcd (diff)
downloadgitlab-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.rb4
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')