aboutsummaryrefslogtreecommitdiffstats
path: root/lib/controller_patches.rb
diff options
context:
space:
mode:
authorGareth Rees <gareth@garethrees.co.uk>2017-01-19 11:37:48 +0000
committerGareth Rees <gareth@garethrees.co.uk>2017-01-19 11:37:48 +0000
commit64f2f360ec9c27aa9c7545d8ab4678c0af3eaa6c (patch)
tree301c5bf19b6063de21163a572ea4f949c09c67dc /lib/controller_patches.rb
parentb90f36f350f59b93e5bb59aeb4868205579b0ab9 (diff)
Add encoding line to Ruby files
Fixes https://github.com/mysociety/alavetelitheme/issues/69.
Diffstat (limited to 'lib/controller_patches.rb')
-rw-r--r--lib/controller_patches.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/controller_patches.rb b/lib/controller_patches.rb
index 5c48e70..6d796b0 100644
--- a/lib/controller_patches.rb
+++ b/lib/controller_patches.rb
@@ -1,3 +1,4 @@
+# -*- encoding : utf-8 -*-
# Add a callback - to be executed before each request in development,
# and at startup in production - to patch existing app classes.
# Doing so in init/environment.rb wouldn't work in development, since