lib/scim/kit/template.rb in scim-kit-0.2.13 vs lib/scim/kit/template.rb in scim-kit-0.2.14
- old
+ new
@@ -17,14 +17,10 @@
end
private
def template_path
- TEMPLATES_DIR.join(template_name)
- end
-
- def template_name
- "#{target.class.name.split('::').last.underscore}.json.jbuilder"
+ TEMPLATES_DIR.join(target.template_name)
end
def template
@template ||= Tilt.new(template_path.to_s)
end