lib/deas/template.rb in deas-0.14.1 vs lib/deas/template.rb in deas-0.15.0
- old
+ new
@@ -61,9 +61,13 @@
def escape_url(path)
Rack::Utils.escape_path(path)
end
alias :u :escape_url
+ def logger
+ @sinatra_call.logger
+ end
+
def ==(other_scope)
self.sinatra_call == other_scope.sinatra_call
self.class.included_modules == other_scope.class.included_modules
end
end