Thank you for using MyWebApp.com. This notice is to help you understand what information we collect, how we use it and what choices you have about it.
a) When you give it to us or give us permission to obtain it
<!-- START--> | |
<hr> | |
<h3>Current planning applications:</h3> | |
<p><code><var><cite>Larger schemes currently awaiting planning decisions (updated weekly)</cite></var></code></p> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/json2html/1.2.0/json2html.min.js"></script><script> | |
function convertDate(inputFormat) { | |
function pad(s) { return (s < 10) ? '0' + s : s; } | |
var d = new Date(inputFormat); | |
return [pad(d.getDate()), pad(d.getMonth()+1), d.getFullYear()].join('/'); | |
} |
# config/initializers/markdown_template_handler.rb | |
module MarkdownTemplateHandler | |
def self.call( template, source=nil ) | |
source ||= template.source | |
# This worked prior to Rails 7.1: | |
# compiled_source = erb.call( template, source ) | |
# But with Rails 7.1 it threw "ActionView::Template::Error: wrong argument type ActionView::OutputBuffer (expected String)" |