aboutsummaryrefslogtreecommitdiffstats
path: root/lib/controller_patches.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2016-04-04 15:05:20 +0100
committerLouise Crow <louise.crow@gmail.com>2016-04-06 15:42:54 +0100
commit8ccab37ebc69e0e729b0b1748378006a811f4071 (patch)
tree7a7d5656dad4930e213c9bf740a5ee4f6c5f0c4f /lib/controller_patches.rb
parenta16a4c35b006ce7de18e8c0cf781c136ebcf9019 (diff)
Convert to two-space indentation.
Diffstat (limited to 'lib/controller_patches.rb')
-rw-r--r--lib/controller_patches.rb22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/controller_patches.rb b/lib/controller_patches.rb
index 6923062..5c48e70 100644
--- a/lib/controller_patches.rb
+++ b/lib/controller_patches.rb
@@ -5,15 +5,15 @@
# See http://stackoverflow.com/questions/7072758/plugin-not-reloading-in-development-mode
#
Rails.configuration.to_prepare do
- # Example adding an instance variable to the frontpage controller
- # GeneralController.class_eval do
- # def mycontroller
- # @say_something = "Greetings friend"
- # end
- # end
- # Example adding a new action to an existing controller
- # HelpController.class_eval do
- # def help_out
- # end
- # end
+ # Example adding an instance variable to the frontpage controller
+ # GeneralController.class_eval do
+ # def mycontroller
+ # @say_something = "Greetings friend"
+ # end
+ # end
+ # Example adding a new action to an existing controller
+ # HelpController.class_eval do
+ # def help_out
+ # end
+ # end
end