lib/django-recipes/helpers.rb in django-recipes-1.0.0 vs lib/django-recipes/helpers.rb in django-recipes-1.1.0
- old
+ new
@@ -1,18 +1,6 @@
require 'erb'
-def app_path
- "#{deploy_to}/#{application}"
-end
-
-def system_path
- "#{deploy_to}/system"
-end
-
-def media_root_path
- "#{deploy_to}/#{media_root}"
-end
-
def render(template, binding)
template = File.read("#{File.dirname(__FILE__)}/templates/#{template}.erb")
result = ERB.new(template).result(binding)
end
\ No newline at end of file