aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public_body_categories.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2015-03-05 12:14:07 +0000
committerLouise Crow <louise.crow@gmail.com>2015-03-05 12:14:07 +0000
commita52f6ad00eb8ee676bd74afec04baa9fad274af6 (patch)
tree36665958f170795bdd55d28c66e17c8faab30cee /lib/public_body_categories.rb
parent096522c6da25ca4cfd7d83d5ee50c88c5e411386 (diff)
parente6511423e9334973ecd8d808c3b73c1b4e312935 (diff)
Merge branch 'remove-public-body-categories' into rails-3-develop
Diffstat (limited to 'lib/public_body_categories.rb')
-rw-r--r--lib/public_body_categories.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/public_body_categories.rb b/lib/public_body_categories.rb
deleted file mode 100644
index 3528e85b1..000000000
--- a/lib/public_body_categories.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Allow the PublicBodyCategory model to be addressed using the same syntax
-# as the old PublicBodyCategories class without needing to rename everything,
-# make sure we're not going to break any themes
-class PublicBodyCategories
-
- def self.method_missing(method, *args, &block)
- warn 'Use of PublicBodyCategories is deprecated and will be removed in release 0.21. Please use PublicBodyCategory instead.'
- PublicBodyCategory.send(method, *args, &block)
- end
-
-end