lib/qcourses/controllers/base.rb in qcourses-0.1.9 vs lib/qcourses/controllers/base.rb in qcourses-0.1.10
- old
+ new
@@ -29,9 +29,12 @@
end
helpers do
include ViewHelpers
include Renderers
+ def logger
+ request.logger
+ end
def javascript(javascript_name)
haml "%script(src='/javascript/#{javascript_name}' type='text/javascript' )", :layout => false
end
end
end