Remove unused method (inline_json)
This commit is contained in:
parent
a6758384ec
commit
b6a7ae3ee6
1 changed files with 0 additions and 6 deletions
|
@ -1,12 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module Utils::Inline
|
||||
def inline_json(path, class_name: File.basename(path, File.extname(path)))
|
||||
%|<script class="json #{class_name}" type="application/json">| \
|
||||
"#{items[path].compiled_content}" \
|
||||
"</script>"
|
||||
end
|
||||
|
||||
def inline_css(path)
|
||||
class_name = File.basename(path, File.extname(path))
|
||||
%|<style class="css #{class_name}">| \
|
||||
|
|
Loading…
Reference in a new issue