From 114706080a6c593cea7413a0b8b9d4be62b7b212 Mon Sep 17 00:00:00 2001 From: Mark Longair Date: Tue, 9 Apr 2013 17:15:21 +0100 Subject: Explicitly add a survey method to UserController Previously the survey.rhtml method was rendered by default if no action matching 'survey' was found in the controller, but this doesn't seem to be the case with some configurations. This is rather unsatisfactory, in that we haven't found documentation of any change that might cause this different behaviour, but the pragmatic solution is to just to add the empty survey method and move on. --- lib/controller_patches.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/controller_patches.rb') diff --git a/lib/controller_patches.rb b/lib/controller_patches.rb index b512fa7..9959f86 100644 --- a/lib/controller_patches.rb +++ b/lib/controller_patches.rb @@ -11,4 +11,8 @@ Rails.configuration.to_prepare do @say_something = "Greetings friend" end end + HelpController.class_eval do + def help_out + end + end end -- cgit v1.2.3